Skip to content

Commit

Permalink
Merge pull request #284 from ITPNYU/noah/email_cleanup
Browse files Browse the repository at this point in the history
Approver emails + url cleanup
  • Loading branch information
rlho authored Aug 1, 2024
2 parents 86ea010 + a6c2d7e commit 8668309
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions booking-app/components/src/policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ export const SECOND_OLD_SAFETY_TRAINING_SHEET_GID = 293202487;
// TODO configure this via admin UI
export const getSecondApproverEmail = (branchName: string) =>
branchName === "development"
? "media-commons[email protected]"
: "media-commons[email protected]";
? "booking-app-devs+jhanele@itp.nyu.edu"
: "booking-app-devs+jhanele@itp.nyu.edu";
//: "[email protected]"; // Jhanele

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

/********** ROOMS ************/
Expand Down
6 changes: 3 additions & 3 deletions booking-app/components/src/server/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { DevBranch } from "../types";
export const getBookingToolDeployUrl = () => {
switch (process.env.BRANCH_NAME as DevBranch) {
case "development":
return "https://sites.google.com/nyu.edu/media-commons-dev/";
return "https://development-dot-flowing-mantis-389917.uc.r.appspot.com/";
case "staging":
return "https://sites.google.com/nyu.edu/media-commons-staging/";
return "https://staging-dot-flowing-mantis-389917.uc.r.appspot.com/";
default:
return "https://sites.google.com/nyu.edu/media-commons-prod/";
return "https://flowing-mantis-389917.uc.r.appspot.com/";
}
};

Expand Down
2 changes: 1 addition & 1 deletion booking-app/components/src/test/fakeBookingData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export function addFakeBookingData(
fakeBookingStatusData: any
) {
let calendarEventId;
const email = 'media-commons[email protected]';
const email = 'booking-app[email protected]';
const bookingRows = [];
const bookingStatusRows = [];

Expand Down

0 comments on commit 8668309

Please sign in to comment.