diff --git a/OPENAPI_DOC.yml b/OPENAPI_DOC.yml index 10d0f81..3894141 100644 --- a/OPENAPI_DOC.yml +++ b/OPENAPI_DOC.yml @@ -2391,7 +2391,7 @@ paths: - name: induction in: query description: the induction status of the booking - example: TENTATIVE + example: accepted required: true schema: type: string diff --git a/src/controllers/bookings.cr b/src/controllers/bookings.cr index 7abc0d6..8c96025 100644 --- a/src/controllers/bookings.cr +++ b/src/controllers/bookings.cr @@ -810,7 +810,7 @@ class Bookings < Application # update the induction status @[AC::Route::POST("/:id/update_induction")] def update_induction( - @[AC::Param::Info(description: "the induction status of the booking", example: "TENTATIVE")] + @[AC::Param::Info(description: "the induction status of the booking", example: "accepted")] induction : PlaceOS::Model::Booking::Induction, @[AC::Param::Info(description: "provided for use with analytics", example: "mobile")] utm_source : String? = nil