Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Uewotm90 committed Dec 8, 2023
1 parent 4ac9e7d commit b40ed62
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/controllers/controller_impls/access_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,12 @@ impl AccessControllerTrait for AccessController {

let uid = request
.uid()
.map_err(|err| Status::internal(format!("could not stringify user id in request metadata, inner error: {}",err)))?
.map_err(|err| {
Status::internal(format!(
"could not stringify user id in request metadata, inner error: {}",
err
))
})?
.ok_or(Status::internal("Could not get uid from request metadata"))?;

let user_access = self
Expand Down

0 comments on commit b40ed62

Please sign in to comment.