forked from Ruderverein-Donau-Linz/rowt
remove users from trip after they have read the notificatoin
This commit is contained in:
@ -76,7 +76,7 @@ async fn send_group(
|
||||
};
|
||||
|
||||
for user in User::all_with_role(db, &role).await {
|
||||
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(
|
||||
|
Reference in New Issue
Block a user