From 879348c120e72aee2f8f9d50ee0b764627ab3607 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 5 Sep 2024 14:43:24 +0200 Subject: Fixs with clippy --- src/graphql/mutation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graphql/mutation.rs') 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); -- cgit v1.2.3-18-g5258