Skip to content

Commit a679b7f

Browse files
committed
only in prod
1 parent a7b91e6 commit a679b7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/backend/src/utils/slack.utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ export const sendSlackPartReviewRequestNotif = async (
559559
partName: string,
560560
partLink: string
561561
) => {
562-
// if (process.env.NODE_ENV !== 'production') return; // don't send msgs unless in prod
562+
if (process.env.NODE_ENV !== 'production') return; // don't send msgs unless in prod
563563

564564
const msg = `Your review has been requested on part: ${partName} for project ${projectName}`;
565565
const link = `https://finishlinebyner.com${partLink}`;
@@ -573,7 +573,7 @@ export const sendSlackPartAssignmentNotif = async (
573573
partName: string,
574574
partLink: string
575575
) => {
576-
// if (process.env.NODE_ENV !== 'production') return; // don't send msgs unless in prod
576+
if (process.env.NODE_ENV !== 'production') return; // don't send msgs unless in prod
577577

578578
const msg = `You have been assigned to part: ${partName} on project ${projectName}`;
579579
const link = `https://finishlinebyner.com${partLink}`;

0 commit comments

Comments
 (0)