diff options
Diffstat (limited to 'src/API.hs')
-rw-r--r-- | src/API.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/API.hs b/src/API.hs index 8bdb6bdfbb73..7b6ed9eae50f 100644 --- a/src/API.hs +++ b/src/API.hs @@ -58,7 +58,7 @@ type API = -- Miscellaneous :<|> "login" :> ReqBody '[JSON] T.AccountCredentials - :> Post '[JSON] (Headers '[Header "Set-Cookie" SetCookie] NoContent) + :> Post '[JSON] (Headers '[Header "Set-Cookie" SetCookie] T.Session) :<|> "logout" :> SessionCookie :> Get '[JSON] (Headers '[Header "Set-Cookie" SetCookie] NoContent) |