Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Update src/auth/flows.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jackson Kruger <[email protected]>
  • Loading branch information
Geometrically and OmegaJak authored Oct 10, 2023
1 parent 87a7db3 commit fa64418
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/auth/flows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2245,8 +2245,7 @@ pub async fn link_trolley(
}

if let Some(email) = user.email {
let payouts = payouts_queue.lock().await;
let id = payouts.register_recipient(&email, body.0).await?;
let id = payouts_queue.lock().await.register_recipient(&email, body.0).await?;

let mut transaction = pool.begin().await?;

Expand Down

0 comments on commit fa64418

Please sign in to comment.