Skip to content

Commit

Permalink
Reformat the code.
Browse files Browse the repository at this point in the history
Malith-19 committed Oct 15, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 60d2e27 commit 2536b16
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -172,8 +172,8 @@ public UsernameRecoverDTO notify(String recoveryCode, String channelId, String t
// If the notifications are externally managed we do not need to send notifications internally.
if (!NotificationChannels.EXTERNAL_CHANNEL.getChannelType().equals(notificationChannel)) {
String eventName;
if (NotificationChannels.SMS_CHANNEL.getChannelType().equals(notificationChannel)){
eventName = IdentityRecoveryConstants.NOTIFICATION_EVENTNAME_PREFIX + notificationChannel
if (NotificationChannels.SMS_CHANNEL.getChannelType().equals(notificationChannel)) {
eventName = IdentityRecoveryConstants.NOTIFICATION_EVENTNAME_PREFIX + notificationChannel
+ IdentityRecoveryConstants.NOTIFICATION_EVENTNAME_SUFFIX;
} else {
eventName = Utils.resolveEventName(notificationChannel);

0 comments on commit 2536b16

Please sign in to comment.