From 5fa550010cd0d9293d253d9528a4029db26ced54 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 2 May 2026 14:31:33 +0200 Subject: owntracks: support returning commands --- lib/API.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/API.hs') 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 = -- cgit v1.2.3