user service corrected
This commit is contained in:
parent
b581acc1fe
commit
0a4f3d59f8
@ -173,7 +173,7 @@ export class UserService {
|
||||
type: 'validation_compte',
|
||||
status: StatutValidationType.VALIDE,
|
||||
validated_by: currentUser,
|
||||
comment
|
||||
comment,
|
||||
|
||||
});
|
||||
await this.validationRepository.save(validation);
|
||||
@ -194,7 +194,7 @@ export class UserService {
|
||||
type: 'suspension_compte',
|
||||
status: StatutValidationType.VALIDE,
|
||||
validated_by: currentUser,
|
||||
comment
|
||||
comment,
|
||||
})
|
||||
await this.validationRepository.save(suspend);
|
||||
return savedUser;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user