Skip to content

Commit

Permalink
Replace reserved "notification" key with "newMessageAlert"
Browse files Browse the repository at this point in the history
  • Loading branch information
g1a55er authored and jon-signal committed Jun 8, 2023
1 parent 2b08742 commit aaf43a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public CompletableFuture<SendPushNotificationResult> sendNotification(PushNotifi
.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";
Expand Down

0 comments on commit aaf43a5

Please sign in to comment.