From 870e52a83bd0827823616882e1633e38c2ff20a7 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 20 Jan 2025 16:09:02 +0100 Subject: Filter only not-empty tokens --- src/graphql/types/alert.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/graphql/types/alert.rs b/src/graphql/types/alert.rs index 1156f3d..481eae6 100644 --- a/src/graphql/types/alert.rs +++ b/src/graphql/types/alert.rs @@ -389,6 +389,7 @@ pub mod mutations { .map(|row| { format!("ExponentPushToken[{}]", row.get::(0)) }) + .filter(|token| token.len() > 19) .collect(); expo::send( -- cgit v1.2.3-18-g5258