Skip to content

Commit

Permalink
Merge pull request #465 from ITPNYU/riho/update_cc_email
Browse files Browse the repository at this point in the history
Update final approval cc email address
  • Loading branch information
rlho authored Oct 16, 2024
2 parents 769d8da + e25d577 commit 684f752
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions booking-app/components/src/policy.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********** GOOGLE SHEETS ************/

import { BookingStatusLabel } from "./types";
import { clientGetFinalApproverEmailFromDatabase } from "@/lib/firebase/firebase";
import { BookingStatusLabel } from "./types";

/** ACTIVE master Google Sheet */
export const ACTIVE_SHEET_ID = "1MnWbn6bvNyMiawddtYYx0tRW4NMgvugl0I8zBO3sy68";
Expand Down Expand Up @@ -30,6 +30,7 @@ export const SECOND_OLD_SAFETY_TRAINING_SHEET_ID =
"1TZYBrX5X6TXM07V3OMTOnVWF8qRmWnTzh27zacrQHh0";
export const SECOND_OLD_SAFETY_TRAINING_SHEET_GID = 293202487;
export const MEDIA_COMMON_EMAIL = "[email protected]";
export const MEDIA_COMMON_OPERATION_EMAIL = "[email protected]";

/********** CONTACTS ************/

Expand All @@ -42,8 +43,8 @@ export const clientGetFinalApproverEmail = async (): Promise<string> => {

export const getApprovalCcEmail = (branchName: string) =>
branchName === "development"
? "booking-app-devs+samantha@itp.nyu.edu"
: "[email protected]"; // Samantha
? "booking-app-devs+operation@itp.nyu.edu"
: MEDIA_COMMON_OPERATION_EMAIL;

export const getCancelCcEmail = () =>
process.env.NEXT_PUBLIC_BRANCH_NAME === "development"
Expand Down

0 comments on commit 684f752

Please sign in to comment.