user service corrected
This commit is contained in:
parent
b581acc1fe
commit
0a4f3d59f8
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user