Skip to content

Commit dbcd0e1

Browse files
committed
refactor: [#615] added missing error to handler comments
1 parent 00c293c commit dbcd0e1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/web/api/server/v1/contexts/tag/handlers.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ use crate::web::api::server::v1::responses::{self};
2424
///
2525
/// # Errors
2626
///
27-
/// It returns an error if there is a database error.
27+
/// It returns an error if:
28+
/// There is a database error
29+
/// There is a problem authorizing the action.
30+
/// The user is not authorized to perform the action
2831
#[allow(clippy::unused_async)]
2932
pub async fn get_all_handler(
3033
State(app_data): State<Arc<AppData>>,

0 commit comments

Comments
 (0)