Adds eventTypeId as a parameter (#1217)

This commit is contained in:
Alex van Andel authored and GitHub committed 2021-12-03 16:18:31 +00:00
1 parent 8c1b69cc0f
commit 22aa083883
6 files changed
+116 -59

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
export function ensureArray<T>(val: unknown): T[] {
if (Array.isArray(val)) {
return val;
}
if (typeof val === "undefined") {
return [];
}
return [val] as T[];
}
+1 -2
View File
@@ -16,8 +16,7 @@ export type BookingCreateBody = {
rescheduleUid?: string;
start: string;
timeZone: string;
users?: string[];
user?: string;
user?: string | string[];
language: string;
customInputs: { label: string; value: string }[];
metadata: {