Compare commits

..

2 Commits

Author SHA1 Message Date
ce2e4e5219 Merge pull request 'dont expect money from deleted users :-)' (#212) from staging into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 8m54s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 3m23s
Reviewed-on: #212
2024-02-16 13:14:49 +01:00
6e0c594c84 dont expect money from deleted users :-)
All checks were successful
CI/CD Pipeline / test (push) Successful in 8m14s
CI/CD Pipeline / deploy-staging (push) Successful in 3m35s
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-02-16 13:13:57 +01:00

View File

@ -151,6 +151,9 @@ impl User {
if !self.has_role(db, "Donau Linz").await { if !self.has_role(db, "Donau Linz").await {
return None; return None;
} }
if self.deleted {
return None;
}
let mut fee = Fee::new(); let mut fee = Fee::new();