Fix tenant creation on user save (#9725)
This commit is contained in:
parent
8971a14865
commit
b34b5fc5bb
|
@ -264,6 +264,7 @@ export const save = async (
|
|||
builtUser._rev = response.rev
|
||||
|
||||
await eventHelpers.handleSaveEvents(builtUser, dbUser)
|
||||
await addTenant(tenantId, _id, email)
|
||||
await cache.user.invalidateUser(response.id)
|
||||
|
||||
// let server know to sync user
|
||||
|
|
Loading…
Reference in New Issue