Skip to content

Scheduling infrastructure for absolutely everyone.

Fixes invalid availability schema (#236)

Syed Ali Shahbaz3ebab100ceda
diff --git a/pages/api/availabilities/_post.ts b/pages/api/availabilities/_post.ts
index be48924d615..19c76f26cb0 100644
--- a/pages/api/availabilities/_post.ts
+++ b/pages/api/availabilities/_post.ts
@@ -15,12 +15,12 @@ import {
* operationId: addAvailability
* summary: Creates a new availability
* parameters:
- * - in: query
- * name: apiKey
- * requiried: true
- * description: Your API key
- * schema:
- * type: integer
+ * - in: query
+ * name: apiKey
+ * required: true
+ * schema:
+ * type: string
+ * description: Your API key
* requestBody:
* description: Edit an existing availability related to one of your bookings
* required: true