Skip to content

Commit

Permalink
type fix on syncCalendars for other department
Browse files Browse the repository at this point in the history
  • Loading branch information
lucia-gomez committed Oct 1, 2024
1 parent 1337343 commit d312417
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions booking-app/app/api/syncCalendars/route.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { toFirebaseTimestampFromString } from "@/components/src/client/utils/serverDate";
import { TableNames } from "@/components/src/policy";
import { Booking, MediaServices } from "@/components/src/types";

import { NextResponse } from "next/server";
import { TableNames } from "@/components/src/policy";
import { Timestamp } from "@firebase/firestore";
import admin from "@/lib/firebase/server/firebaseAdmin";
import { getCalendarClient } from "@/lib/googleClient";
import { Timestamp } from "@firebase/firestore";
import { NextResponse } from "next/server";
import { toFirebaseTimestampFromString } from "@/components/src/client/utils/serverDate";

const db = admin.firestore();
const createBookingWithDefaults = (
Expand All @@ -21,6 +22,7 @@ const createBookingWithDefaults = (
netId: "",
phoneNumber: "",
department: "",
otherDepartment: "",
role: "",
sponsorFirstName: "",
sponsorLastName: "",
Expand Down

0 comments on commit d312417

Please sign in to comment.