Fixes: 1) Correct improper function scope for user.save in UpdateUser mutation;
Extra: 1) Minor code readability adjustment.
This commit is contained in:
parent
a91f8e30d3
commit
4e89b2aeec
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ class UpdateUser(Mutation):
|
|||
):
|
||||
setattr(user, attr, value)
|
||||
|
||||
user.save()
|
||||
user.save()
|
||||
|
||||
return UpdateUser(user=user) # ty: ignore[unknown-argument]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue