We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cd3898 commit b92ecf2Copy full SHA for b92ecf2
1 file changed
src/backend/src/utils/notifications.utils.ts
@@ -19,7 +19,10 @@ export type EventWithAttendees = Event & {
19
20
export const usersToSlackPings = (users: UserWithSettings[]) => {
21
// https://api.slack.com/reference/surfaces/formatting#mentioning-users
22
- return users.filter((user) => user.userSettings?.slackId).map(userToSlackPing).join(' ');
+ return users
23
+ .filter((user) => user.userSettings?.slackId)
24
+ .map(userToSlackPing)
25
+ .join(' ');
26
};
27
28
export const userToSlackPing = (user: UserWithSettings) => {
0 commit comments