diff --git a/src/tera/admin/notification.rs b/src/tera/admin/notification.rs index 0eeb56c..8d77ff2 100644 --- a/src/tera/admin/notification.rs +++ b/src/tera/admin/notification.rs @@ -102,7 +102,7 @@ async fn send_user( return Flash::error(Redirect::to("/admin/notification"), "User gibt's ned"); }; - Notification::create(db, &user, &d.message, &d.category, None).await; + Notification::create(db, &user, &d.message, &d.category, None, None).await; Log::create(db, "Notification successfully sent".into()).await; Flash::success(