aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-12-19 23:15:35 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-12-19 23:15:35 +0100
commit94f5f49f496a2ceb54cd9b563c9aecbdebd21196 (patch)
treea917715d319662d5e812ea61fec86d1aecae3658
parentaf847f893c47faed9709f37e3892594918161d87 (diff)
feat: remove unneeded route coercionsHEADmaster
-rw-r--r--src/backend/tubo/router.clj6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/tubo/router.clj b/src/backend/tubo/router.clj
index 46be06a..8a031b5 100644
--- a/src/backend/tubo/router.clj
+++ b/src/backend/tubo/router.clj
@@ -28,8 +28,7 @@
{:summary
"returns default kiosk entries for a given service"
:coercion reitit.coercion.malli/coercion
- :parameters {:path {:service-id int?}
- :query {:region [:maybe string?]}}
+ :parameters {:path {:service-id int?}}
:handler handler/kiosk}}
:api/all-kiosks {:get {:summary
"returns all kiosks supported by a given service"
@@ -40,8 +39,7 @@
{:summary
"returns kiosk entries for a given service and a kiosk ID"
:coercion reitit.coercion.malli/coercion
- :parameters {:path {:service-id int? :kiosk-id string?}
- :query {:region [:maybe string?]}}
+ :parameters {:path {:service-id int? :kiosk-id string?}}
:handler handler/kiosk}}
:api/stream {:get {:summary "returns stream data for a given URL"
:handler handler/stream}}