summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/graphql/types/alert.rs1
1 files changed, 1 insertions, 0 deletions
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::<usize, String>(0))
})
+ .filter(|token| token.len() > 19)
.collect();
expo::send(