chore: Bringing across edits from enterprise codebase

This commit is contained in:
Tom Moor
2022-04-16 19:46:01 -07:00
parent 0b5e48621a
commit b1aba32b62
7 changed files with 13 additions and 11 deletions

View File

@@ -194,9 +194,9 @@ router.post("collections.add_group", auth(), async (ctx) => {
collectionId: collection.id,
teamId: collection.teamId,
actorId: ctx.state.user.id,
modelId: groupId,
data: {
name: group.name,
groupId,
},
ip: ctx.request.ip,
});
@@ -229,9 +229,9 @@ router.post("collections.remove_group", auth(), async (ctx) => {
collectionId: collection.id,
teamId: collection.teamId,
actorId: ctx.state.user.id,
modelId: groupId,
data: {
name: group.name,
groupId,
},
ip: ctx.request.ip,
});