Refactoring - Version stable
This commit is contained in:
@@ -189,13 +189,13 @@ public class NotificationService {
|
||||
@Transactional
|
||||
public int envoyerNotificationsGroupees(
|
||||
List<UUID> membreIds, String sujet, String corps, List<String> canaux) {
|
||||
LOG.infof(
|
||||
"Envoi de notifications groupées à %d membres - sujet: %s", membreIds.size(), sujet);
|
||||
|
||||
if (membreIds == null || membreIds.isEmpty()) {
|
||||
throw new IllegalArgumentException("La liste des membres ne peut pas être vide");
|
||||
}
|
||||
|
||||
LOG.infof(
|
||||
"Envoi de notifications groupées à %d membres - sujet: %s", membreIds.size(), sujet);
|
||||
|
||||
int notificationsCreees = 0;
|
||||
for (UUID membreId : membreIds) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user