diff options
Diffstat (limited to 'src/API.hs')
-rw-r--r-- | src/API.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/API.hs b/src/API.hs index 95b9f14a399c..134d278426d6 100644 --- a/src/API.hs +++ b/src/API.hs @@ -12,8 +12,8 @@ import qualified Types as T type API = -- accounts: Create "accounts" - :> ReqBody '[JSON] T.Account - :> Post '[JSON] (Maybe T.Session) + :> ReqBody '[JSON] T.CreateAccountRequest + :> Post '[JSON] NoContent -- accounts: Read -- accounts: Update -- accounts: Delete |