Skip to content

Commit

Permalink
refactor: [#615] added missing error to handler comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-nt committed Aug 3, 2024
1 parent 00c293c commit dbcd0e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/web/api/server/v1/contexts/tag/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ use crate::web::api::server::v1::responses::{self};
///
/// # Errors
///
/// It returns an error if there is a database error.
/// It returns an error if:
/// There is a database error
/// There is a problem authorizing the action.
/// The user is not authorized to perform the action
#[allow(clippy::unused_async)]
pub async fn get_all_handler(
State(app_data): State<Arc<AppData>>,
Expand Down

0 comments on commit dbcd0e1

Please sign in to comment.