Replace reserved "notification" key with "newMessageAlert"

This commit is contained in:
g1a55er authored and Jon Chambers committed 2023-06-08 09:53:31 -04:00
1 parent 2b08742c0a
commit aaf43a592f
1 file changed
+1 -1
@@ -88,7 +88,7 @@ public class FcmSender implements PushNotificationSender {
.build());
final String key = switch (pushNotification.notificationType()) {
case NOTIFICATION -> "notification";
case NOTIFICATION -> "newMessageAlert";
case ATTEMPT_LOGIN_NOTIFICATION_HIGH_PRIORITY, ATTEMPT_LOGIN_NOTIFICATION_LOW_PRIORITY -> "attemptLoginContext";
case CHALLENGE -> "challenge";
case RATE_LIMIT_CHALLENGE -> "rateLimitChallenge";