Upgrade to sqlx 0.7.2 (#736)

* Update to sqlx 0.7.2

* Somehow missed one (and remove queries from other branch)
This commit is contained in:
Jackson Kruger
2023-10-23 14:30:39 -05:00
committed by GitHub
parent 9a8f3d7bad
commit 8803e11945
358 changed files with 8352 additions and 7467 deletions

View File

@@ -232,7 +232,7 @@ pub async fn trolley_webhook(
",
user.id.0
)
.execute(&mut transaction)
.execute(&mut *transaction)
.await?;
} else {
sqlx::query!(
@@ -246,7 +246,7 @@ pub async fn trolley_webhook(
recipient.status.map(|x| x.as_str()),
user.id.0
)
.execute(&mut transaction).await?;
.execute(&mut *transaction).await?;
}
transaction.commit().await?;
@@ -288,7 +288,7 @@ pub async fn trolley_webhook(
payout.amount,
payout.user_id,
)
.execute(&mut transaction)
.execute(&mut *transaction)
.await?;
}
@@ -301,7 +301,7 @@ pub async fn trolley_webhook(
payment.status.as_str(),
payment.id,
)
.execute(&mut transaction)
.execute(&mut *transaction)
.await?;
transaction.commit().await?;