Replace reserved "notification" key with "newMessageAlert"
This commit is contained in:
parent
2b08742c0a
commit
aaf43a592f
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue