Skip to content
Snippets Groups Projects
Commit c1314ee5 authored by Steve Reis's avatar Steve Reis
Browse files

fix: Issue update user return old user data

parent ad573ec6
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,11 @@ export class UsersResolver {
@CurrentUser() user?: User,
) {
if (this.engineService.updateUser)
return this.engineService.updateUser(request, user?.id, updateUserInput);
return await this.engineService.updateUser(
request,
user?.id,
updateUserInput,
);
await this.usersService.update(user.id, updateUserInput);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment