From 26d8aed5540677d539957dea16f95491499eff58 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 29 Nov 2024 12:36:59 +0100 Subject: Use Expo on the AppState This because since Rust 1.83 it is suggested to not use the static reference cloning --- src/graphql/types/alert.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/graphql') diff --git a/src/graphql/types/alert.rs b/src/graphql/types/alert.rs index 007f471..cce2bee 100644 --- a/src/graphql/types/alert.rs +++ b/src/graphql/types/alert.rs @@ -305,6 +305,7 @@ pub mod mutations { .collect(); expo::send( + (*state.expo).clone(), tokens, "New Alert!".to_string(), match level.text { -- cgit v1.2.3-18-g5258