Skip to content

Commit ff00ae7

Browse files
[ui] Fix Slack MemberID format validation logic (#1811)
1 parent 7990033 commit ff00ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thirdeye-ui/src/app/utils/notifications/notifications.util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ export const convertSlackConfigurationToSlackFormEntries = (
6262
};
6363

6464
export const validateSlackMemberIDFormat = (memberId: string): boolean => {
65-
return /^U[0-9A-Z]{10}$/.test(memberId);
65+
return /^[US][0-9A-Z]{8,}$/.test(memberId);
6666
};

0 commit comments

Comments
 (0)