upgrade sqlx to 0.7 Fixes #76 restructure registrations
All checks were successful
CI/CD Pipeline / test (push) Successful in 10m57s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
2023-11-22 13:19:31 +01:00
parent ab6ab4af8d
commit 7569798b00
11 changed files with 450 additions and 296 deletions

View File

@ -141,7 +141,7 @@ ORDER BY day;",
.fetch_one(db)
.await
.unwrap();
if is_cox.amount > 0 {
if is_cox.amount.unwrap() > 0 {
return CoxAtTrip::Yes(Action::Helping);
}