add test for cancel-event-notification
All checks were successful
CI/CD Pipeline / test (push) Successful in 9m39s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
2024-05-28 09:59:16 +02:00
parent 82aa94c024
commit 91fa2a7762
3 changed files with 140 additions and 17 deletions

View File

@ -34,7 +34,7 @@ async fn create(
//just created
//the object
Event::create(db, data.name, data.planned_amount_cox, trip_details).await;
Event::create(db, data.name, data.planned_amount_cox, &trip_details).await;
Flash::success(Redirect::to("/planned"), "Event hinzugefügt")
}