diff options
Diffstat (limited to 'src/API.hs')
-rw-r--r-- | src/API.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/API.hs b/src/API.hs index 134d278426d6..9ae618cd3029 100644 --- a/src/API.hs +++ b/src/API.hs @@ -37,3 +37,8 @@ type API = -- trips: List :<|> "trips" :> Get '[JSON] [T.Trip] + + -- Miscellaneous + :<|> "login" + :> ReqBody '[JSON] T.AccountCredentials + :> Post '[JSON] (Maybe T.Session) |