mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
update cache when user is updated
This commit is contained in:
parent
5c7a520144
commit
4fcf025611
1 changed files with 4 additions and 0 deletions
|
|
@ -82,6 +82,8 @@ export const updateUserResolver = authorized<
|
|||
})
|
||||
)
|
||||
|
||||
await cacheUser(updatedUser)
|
||||
|
||||
return { user: updatedUser }
|
||||
})
|
||||
|
||||
|
|
@ -139,6 +141,8 @@ export const updateUserProfileResolver = authorized<
|
|||
})
|
||||
)
|
||||
|
||||
await cacheUser(updatedUser)
|
||||
|
||||
return { user: updatedUser }
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue