fix: typo
This commit is contained in:
parent
6627514e88
commit
2221261ec2
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ export class UserResolver {
|
|||
@UseGuards(GqlAuthGuard)
|
||||
async updateUser(
|
||||
@GqlUser() user: User,
|
||||
@Args('user') userInput: UpdateUserInput,
|
||||
@Args('args') userInput: UpdateUserInput,
|
||||
): Promise<User> {
|
||||
const updatedUser = await this.userService.updateUser(user, userInput);
|
||||
if (E.isLeft(updatedUser)) throwErr(updatedUser.left);
|
||||
|
|
|
|||
Loading…
Reference in a new issue