aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
Diffstat (limited to 'vnext')
-rw-r--r--vnext/server/sender.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/server/sender.js b/vnext/server/sender.js
index db006233..7c72cbf3 100644
--- a/vnext/server/sender.js
+++ b/vnext/server/sender.js
@@ -71,7 +71,7 @@ export function sendNotification(productionIds, sandboxIds, data) {
});
results.filter(r => r.method === 'gcm')
.forEach(async r => {
- let badTokens = r.message.filter(m => m.errorMsg === 'NotRegistered' || m.errorMsg === 'MismatchSenderId').map(m => {
+ let badTokens = r.message.filter(m => m.errorMsg === 'NotRegistered' || m.errorMsg === 'MismatchSenderId' || m.errorMsg === 'InvalidRegistration').map(m => {
return { 'type': 'fcm', 'token': m.regId };
});
if (badTokens.length > 0) {