diff --git a/booking-app/app/api/db/refactor/route.ts b/booking-app/app/api/db/refactor/route.ts index 3e6d9bf5..2595b41f 100644 --- a/booking-app/app/api/db/refactor/route.ts +++ b/booking-app/app/api/db/refactor/route.ts @@ -90,7 +90,7 @@ export async function POST(request: NextRequest) { } // 5. combine bookings and bookingStatus documents - const sourceBookingStatus = TableNames.BOOKING_STATUS; + const sourceBookingStatus = "bookingStatus"; const destinationBooking = TableNames.BOOKING; res = await fetch(process.env.NEXT_PUBLIC_BASE_URL + "/api/db/merge", { method: "POST", diff --git a/booking-app/components/src/policy.ts b/booking-app/components/src/policy.ts index 123902b0..3b0ade09 100644 --- a/booking-app/components/src/policy.ts +++ b/booking-app/components/src/policy.ts @@ -8,7 +8,7 @@ export const ACTIVE_SHEET_ID = "1MnWbn6bvNyMiawddtYYx0tRW4NMgvugl0I8zBO3sy68"; export enum TableNames { ADMINS = "usersAdmin", - APPROVERS = "usersLiaison", + APPROVERS = "usersApprovers", BANNED = "usersBanned", BOOKING = "bookings", BOOKING_TYPES = "bookingTypes", @@ -16,7 +16,7 @@ export enum TableNames { PAS = "usersPa", POLICY = "policy", RESOURCES = "resources", - SAFETY_TRAINING = "usersSafetyWhitelist", + SAFETY_TRAINING = "usersWhitelist", SETTINGS = "settings", }