mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #16944 from overleaf/jpa-fix-entity-creation
[web] fix creation of missing user membership entities GitOrigin-RevId: 203d5e2bb5733479c53068543a04b58a6fa7d1a3
This commit is contained in:
parent
06ab04f023
commit
c73f1f3693
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ const UserMembershipHandler = {
|
||||||
|
|
||||||
async createEntity(entityId, entityConfig) {
|
async createEntity(entityId, entityConfig) {
|
||||||
const data = buildEntityQuery(entityId, entityConfig)
|
const data = buildEntityQuery(entityId, entityConfig)
|
||||||
return await EntityModels[entityConfig.modelName].create(data).exec()
|
return await EntityModels[entityConfig.modelName].create(data)
|
||||||
},
|
},
|
||||||
|
|
||||||
async getUsers(entity, entityConfig) {
|
async getUsers(entity, entityConfig) {
|
||||||
|
|
Loading…
Reference in a new issue