From 7f605b136750ab9e40979156d5be4cc267db2de6 Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Wed, 2 Oct 2024 09:33:32 +0100 Subject: [PATCH] fix: clippy errors --- src/services/authorization.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/services/authorization.rs b/src/services/authorization.rs index 2861ddd9..e6678ac1 100644 --- a/src/services/authorization.rs +++ b/src/services/authorization.rs @@ -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) -> std::result::Result<(), ServiceError> { let role = self.get_role(maybe_user_id).await;