Skip to content

Commit

Permalink
fix: clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Oct 2, 2024
1 parent fdf62e9 commit 7f605b1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/services/authorization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ impl Service {
///
/// Will return an error if:
/// - The user is not authorized to perform the action.

pub async fn authorize(&self, action: ACTION, maybe_user_id: Option<UserId>) -> std::result::Result<(), ServiceError> {
let role = self.get_role(maybe_user_id).await;

Expand Down

0 comments on commit 7f605b1

Please sign in to comment.