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

Commit

Permalink
Merge remote-tracking branch 'origin/trolley-wip' into trolley-wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Oct 11, 2023
2 parents 7eeeafb + fa64418 commit adb4e06
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 @@ -2247,8 +2247,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 adb4e06

Please sign in to comment.