Replace reserved "notification" key with "newMessageAlert"

This commit is contained in:
g1a55er 2023-06-02 01:38:25 -04:00 committed by Jon Chambers
parent 2b08742c0a
commit aaf43a592f
1 changed files with 1 additions and 1 deletions

View File

@ -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";