bj
Size: a a a
bj
r
bj
bj
r
@Mutation()
@UseGuards(AuthGuard, RolesGuard)
@Roles('ADMIN', 'PATIENT_LID', 'PATIENT', 'SPECIALIST', 'CLINIC')
async changeUserPassword(
@Args('_id') _id: string,
@Args('oldPassword') oldPassword: string,
@Args('newPassword') newPassword: string) {
return await this.userService.changeUserPassword(ObjectId(_id), oldPassword, newPassword);
}
r
r
bj
bj
r
bj
bj
U
U
r
ОЛ
r
bj
r