Merge pull request 'dont expect money from deleted users :-)' (#212) from staging into main

Reviewed-on: Ruderverein-Donau-Linz/rowt#212
This commit is contained in:
philipp 2024-02-16 13:14:49 +01:00
commit ce2e4e5219

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();