aboutsummaryrefslogtreecommitdiff
path: root/lib/API.hs
diff options
context:
space:
mode:
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 ce1f7e8..e3e7107 100644
--- a/lib/API.hs
+++ b/lib/API.hs
@@ -83,7 +83,7 @@ type GtfsRealtimeAPI = "servicealerts" :> QueryFlag "force" :> Get '[Proto] Feed
:<|> "vehiclepositions" :> QueryFlag "force" :> Get '[Proto] FeedMessage
type OwnTracksAPI =
- "pub" :> QueryParam "u" Text :> QueryParam "d" Text :> ReqBody '[JSON] OT.Message :> Post '[JSON] ()
+ "pub" :> QueryParam "u" Text :> QueryParam "d" Text :> ReqBody '[JSON] OT.Message :> Post '[JSON] [OT.Command]
type CompleteAPI =