Skip to content

Commit 01452f3

Browse files
committed
pretty
1 parent 704cc91 commit 01452f3

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { sendMessage } from "../integrations/slack";
1+
import { sendMessage } from '../integrations/slack';
22

33
export const sendSlackCRReviewedNotification = async (slackId: string, designReviewId: string) => {
4-
if (process.env.NODE_ENV !== 'production') return; // don't send msgs unless in prod
5-
const msgs = [];
6-
const fullMsg = `:tada: You have been invited to a Design Review! Fill out your availability :tada:`;
7-
const fullLink = `https://finishlinebyner.com/design-reviews/${designReviewId}`;
8-
const btnText = `RSVP for Design Review: ${designReviewId}`;
9-
msgs.push(sendMessage(slackId, fullMsg, fullLink, btnText));
10-
11-
return Promise.all(msgs);
12-
};
4+
if (process.env.NODE_ENV !== 'production') return; // don't send msgs unless in prod
5+
const msgs = [];
6+
const fullMsg = `:tada: You have been invited to a Design Review! Fill out your availability! :tada:`;
7+
const fullLink = `https://finishlinebyner.com/design-reviews/${designReviewId}`;
8+
const btnText = `RSVP for Design Review: ${designReviewId}`;
9+
msgs.push(sendMessage(slackId, fullMsg, fullLink, btnText));
10+
11+
return Promise.all(msgs);
12+
};

0 commit comments

Comments
 (0)