chore: Bringing across edits from enterprise codebase
This commit is contained in:
@@ -294,7 +294,7 @@ export default class WebsocketsProcessor {
|
||||
}
|
||||
|
||||
case "collections.add_group": {
|
||||
const group = await Group.findByPk(event.data.groupId);
|
||||
const group = await Group.findByPk(event.modelId);
|
||||
if (!group) {
|
||||
return;
|
||||
}
|
||||
@@ -320,7 +320,7 @@ export default class WebsocketsProcessor {
|
||||
}
|
||||
|
||||
case "collections.remove_group": {
|
||||
const group = await Group.findByPk(event.data.groupId);
|
||||
const group = await Group.findByPk(event.modelId);
|
||||
if (!group) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user