summaryrefslogtreecommitdiff
path: root/src/graphql/mutation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphql/mutation.rs')
-rw-r--r--src/graphql/mutation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphql/mutation.rs b/src/graphql/mutation.rs
index dfffad8..6e0a265 100644
--- a/src/graphql/mutation.rs
+++ b/src/graphql/mutation.rs
@@ -284,7 +284,7 @@ impl Mutation {
let mut notification_ids = vec![];
for id in &position_ids {
- let notification = notification::Notification::new(client, alert.id, *id)
+ let notification = notification::Notification::insert_db(client, alert.id, *id)
.await
.unwrap();
notification_ids.push(notification);