diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2025-01-20 16:09:02 +0100 | 
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2025-01-20 16:09:02 +0100 | 
| commit | 870e52a83bd0827823616882e1633e38c2ff20a7 (patch) | |
| tree | bc1f57b2d484f8dbd4212802007bbcfd77560735 | |
| parent | eaf10231b83c80dbab1121555e7e2eb52b824bd1 (diff) | |
Filter only not-empty tokens
| -rw-r--r-- | src/graphql/types/alert.rs | 1 | 
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( | 
