fix merge issue
This commit is contained in:
parent
59f1fe2758
commit
0a675027ca
@ -109,8 +109,6 @@ export default class UsersController extends ApiController {
|
|||||||
|
|
||||||
//validate user
|
//validate user
|
||||||
await validateOrReject(userEntity, { groups: ["updateUser"] });
|
await validateOrReject(userEntity, { groups: ["updateUser"] });
|
||||||
|
|
||||||
const userEntityToUpdate = this.voteService.vote(userEntity, userFoundEntity, userId);
|
|
||||||
|
|
||||||
//call service to get prisma entity
|
//call service to get prisma entity
|
||||||
const userEntityUpdated = await this.usersService.update(uid, userFoundEntity);
|
const userEntityUpdated = await this.usersService.update(uid, userFoundEntity);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user