user service corrected

This commit is contained in:
2025-09-23 11:59:27 +02:00
parent b581acc1fe
commit 0a4f3d59f8
+2 -2
View File
@@ -173,7 +173,7 @@ export class UserService {
type: 'validation_compte', type: 'validation_compte',
status: StatutValidationType.VALIDE, status: StatutValidationType.VALIDE,
validated_by: currentUser, validated_by: currentUser,
comment comment,
}); });
await this.validationRepository.save(validation); await this.validationRepository.save(validation);
@@ -194,7 +194,7 @@ export class UserService {
type: 'suspension_compte', type: 'suspension_compte',
status: StatutValidationType.VALIDE, status: StatutValidationType.VALIDE,
validated_by: currentUser, validated_by: currentUser,
comment comment,
}) })
await this.validationRepository.save(suspend); await this.validationRepository.save(suspend);
return savedUser; return savedUser;