-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
graphql-authentication/packages/graphql-authentication/src/mutations.ts
Lines 398 to 408 in 0856f84
| async updateCurrentUser( | |
| parent: any, | |
| { data }: { data: UserUpdateInput }, | |
| ctx: Context | |
| ) { | |
| const user = await getUser(ctx); | |
| await ctx.graphqlAuthentication.adapter.updateUserInfo(ctx, user.id, data); | |
| return user; | |
| } |
If graphql query includes returning name or email, it returns old pre-updated daata.
Metadata
Metadata
Assignees
Labels
No labels