We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34acd2 commit 836e161Copy full SHA for 836e161
plugins/notifications-backend/src/service/handlers.ts
@@ -36,7 +36,7 @@ export async function createNotification(
36
req.targetGroups.length > 0
37
) {
38
isUser = true;
39
- await validateUsersGroups(true, req.targetGroups, catalogClient);
+ await validateUsersGroups(false, req.targetGroups, catalogClient);
40
}
41
42
// validate groups
@@ -46,7 +46,7 @@ export async function createNotification(
46
req.targetUsers.length > 0
47
48
49
- await validateUsersGroups(false, req.targetUsers, catalogClient);
+ await validateUsersGroups(true, req.targetUsers, catalogClient);
50
51
52
// validate actions
0 commit comments