diff options
author | Santo Cariotti <santo@dcariotti.me> | 2024-09-05 14:43:24 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2024-09-05 14:43:24 +0200 |
commit | 879348c120e72aee2f8f9d50ee0b764627ab3607 (patch) | |
tree | 8f3dd5d338610af8f9d14cb7237646255b3356bf /src/graphql/mutation.rs | |
parent | d35ec476209f85631d16fb78553af8dad33eb2e0 (diff) |
Fixs with clippy
Diffstat (limited to 'src/graphql/mutation.rs')
-rw-r--r-- | src/graphql/mutation.rs | 2 |
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); |