aboutsummaryrefslogtreecommitdiff
path: root/lib/API.hs
diff options
context:
space:
mode:
authorstuebinm2022-07-11 23:33:01 +0200
committerstuebinm2022-07-11 23:33:01 +0200
commit498ae348d120f156c65a89c87d9852393b23e2f4 (patch)
treea6882a4f3e0759be0521407290d34bb83ebb23e4 /lib/API.hs
parent25a672a436eec65f2de097a1187ba8a3b8b6165a (diff)
somewhat functioning control room
tbh i've kinda lost track at what has all been changed in this, but the control room form handling now works, and i can write announcements into the database. Now on to making it do useful things!
Diffstat (limited to 'lib/API.hs')
-rw-r--r--lib/API.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/API.hs b/lib/API.hs
index e491812..9ed2846 100644
--- a/lib/API.hs
+++ b/lib/API.hs
@@ -69,7 +69,7 @@ type AdminAPI =
-- documented, which would be silly and way to verbose.
type CompleteAPI = "debug" :> "openapi" :> Get '[JSON] Swagger
:<|> API
- :<|> "control" :> ControlRoomAPI
+ :<|> "cr" :> ControlRoomAPI
-- TODO write something useful here! (and if it's just "hey this is some websocket thingie")