Skip to content

Commit 836e161

Browse files
authored
fix(notifications): flpath-1163 (#1394)
https://issues.redhat.com/browse/FLPATH-1163 Signed-off-by: Yaron Dayagi <[email protected]>
1 parent b34acd2 commit 836e161

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/notifications-backend/src/service/handlers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export async function createNotification(
3636
req.targetGroups.length > 0
3737
) {
3838
isUser = true;
39-
await validateUsersGroups(true, req.targetGroups, catalogClient);
39+
await validateUsersGroups(false, req.targetGroups, catalogClient);
4040
}
4141

4242
// validate groups
@@ -46,7 +46,7 @@ export async function createNotification(
4646
req.targetUsers.length > 0
4747
) {
4848
isUser = true;
49-
await validateUsersGroups(false, req.targetUsers, catalogClient);
49+
await validateUsersGroups(true, req.targetUsers, catalogClient);
5050
}
5151

5252
// validate actions

0 commit comments

Comments
 (0)