reduce amount of magic values, goal is to have specific states -> e.g. cancelled
Some checks failed
CI/CD Pipeline / test (push) Successful in 16m32s
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled

This commit is contained in:
2025-04-18 23:01:17 +02:00
parent f98963a28a
commit 10740f988d
6 changed files with 44 additions and 29 deletions

View File

@ -278,7 +278,7 @@ mod test {
let cancel_update = EventUpdate {
name: &event.name,
planned_amount_cox: event.planned_amount_cox as i32,
max_people: 0,
max_people: -1,
notes: event.notes.as_deref(),
always_show: event.always_show,
is_locked: event.is_locked,