chore: [app dir bootstrapping 4.1] check nullability of navigation hook return values part 2 (#12065)

Co-authored-by: Omar López <[email protected]>
This commit is contained in:
Greg PabianandOmar López authored and GitHub committed 2023-10-24 20:52:59 +00:00
1 parent 0ae6506bc1
commit a9535d3fd4
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -2,13 +2,13 @@ import type { AppCategories, Prisma } from "@prisma/client";
import appStore from "@calcom/app-store";
import type { EventTypeAppsList } from "@calcom/app-store/utils";
import type { EventTypeModel } from "@calcom/prisma/zod";
import type { CompleteEventType } from "@calcom/prisma/zod";
import type { CalendarEvent } from "@calcom/types/Calendar";
import type { IAbstractPaymentService, PaymentApp } from "@calcom/types/PaymentService";
const handlePayment = async (
evt: CalendarEvent,
selectedEventType: Pick<Zod.infer<typeof EventTypeModel>, "metadata" | "title">,
selectedEventType: Pick<CompleteEventType, "metadata" | "title">,
paymentAppCredentials: {
key: Prisma.JsonValue;
appId: EventTypeAppsList;