-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements #269
Improvements #269
Conversation
@@ -0,0 +1,64 @@ | |||
use std::sync::Arc; | |||
|
|||
use crate::models::page_model::PutPageIdentifierModel; |
Check warning
Code scanning / clippy
unused import: crate::models::page_model::PutPageIdentifierModel Warning
use crate::models::page_model::PutPageIdentifierModel; | ||
use crate::{avored_state::AvoRedState, error::Result}; | ||
|
||
use crate::api::handlers::page::request::put_page_request::PutPageRequest; |
Check warning
Code scanning / clippy
unused import: crate::api::handlers::page::request::put_page_request::PutPageRequest Warning
use crate::error::Error; | ||
use crate::models::token_claim_model::LoggedInUser; | ||
use crate::models::validation_error::ErrorResponse; | ||
use crate::responses::page::PutPageIdentifierResponse; |
Check warning
Code scanning / clippy
unused import: crate::responses::page::PutPageIdentifierResponse Warning
password_salt: &String | ||
) -> Result<String>{ | ||
|
||
password_salt: &String, |
Check warning
Code scanning / clippy
writing &String instead of &str involves a new object where a slice will do Warning
use crate::repositories::content_repository::ContentRepository; | ||
use crate::error::Result; | ||
use crate::models::{ModelCount, Pagination}; | ||
use crate::models::page_model::{PageModel, PutPageIdentifierModel}; |
Check warning
Code scanning / clippy
unused imports: PageModel and PutPageIdentifierModel Warning
use crate::repositories::content_repository::ContentRepository; | ||
use crate::error::Result; | ||
use crate::models::{ModelCount, Pagination}; | ||
use crate::models::page_model::{PageModel, PutPageIdentifierModel}; |
Check warning
Code scanning / clippy
unused imports: PageModel and PutPageIdentifierModel Warning
No description provided.