feat: adds availabilitesi and attendees endpoints, some cleanup less try/catch more if/else
This commit is contained in:
1 parent
ac307f7161
commit
936572e7e1
48 files changed
+1365
-172
No files matched your search
@@ -9,7 +9,8 @@ const schemaApiKey = z
|
||||
expiresAt: z.date().optional(), // default is 30 days
|
||||
note: z.string().min(1).optional(),
|
||||
})
|
||||
.strict(); // Adding strict so that we can disallow passing in extra fields
|
||||
.strict();
|
||||
|
||||
const withValidApiKey = withValidation({
|
||||
schema: schemaApiKey,
|
||||
type: "Zod",
|
||||
|
||||
Reference in new issue
Block a user