Skip to content

Scheduling infrastructure for absolutely everyone.

fix: add middlewares back

Agusti Fernandez Pardoc2816815ccc5
diff --git a/pages/api/bookings/[id].ts b/pages/api/bookings/[id].ts
index 34f7f62db7f..32379cb231c 100644
--- a/pages/api/bookings/[id].ts
+++ b/pages/api/bookings/[id].ts
@@ -165,4 +165,4 @@ export async function bookingById(
}
}
-export default bookingById;
+export default withMiddleware("HTTP_GET_DELETE_PATCH")(withValidQueryIdTransformParseInt(bookingById));