diff options
Diffstat (limited to 'src/API.hs')
-rw-r--r-- | src/API.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/API.hs b/src/API.hs index cc737c16bd72..8bdb6bdfbb73 100644 --- a/src/API.hs +++ b/src/API.hs @@ -62,3 +62,7 @@ type API = :<|> "logout" :> SessionCookie :> Get '[JSON] (Headers '[Header "Set-Cookie" SetCookie] NoContent) + :<|> "unfreeze" + :> SessionCookie + :> ReqBody '[JSON] T.UnfreezeAccountRequest + :> Post '[JSON] NoContent |