Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
augustuswm committed Dec 4, 2024
1 parent 3389f00 commit 21aa39e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions v-api/src/endpoints/login/magic_link/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,7 @@ where

let scope = attempt
.scope
.map(|scope| scope.split(' ')
.map(|s| s.to_string())
.collect::<Vec<_>>());
.map(|scope| scope.split(' ').map(|s| s.to_string()).collect::<Vec<_>>());

let token = ctx
.generate_access_token(
Expand Down

0 comments on commit 21aa39e

Please sign in to comment.