debug notification preferences

This commit is contained in:
Ahmed Salah Tawfik Ibrahim 2023-12-04 17:11:38 +01:00
parent 73e19d2520
commit 184ec6c290
1 changed files with 6 additions and 0 deletions

View File

@ -559,6 +559,12 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
*/
@Override
public boolean setUserNotificationPreferences(String userid, Map<NotificationType, NotificationChannelType[]> enabledChannels) {
for(NotificationType notificationType: enabledChannels.keySet()){
_log.info("Type: " + notificationType.toString());
for(NotificationChannelType channelType: enabledChannels.get(notificationType)){
_log.info(channelType.toString());
}
}
return libClient.setUserNotificationPreferencesLib(userid, enabledChannels);
}
/**