diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-02T17·00+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-02T17·00+0100 |
commit | 2632dc10fdf8dc6dcde91bea0820b2cb67957607 (patch) | |
tree | 0dc2dd87c5a29d67fed7908fe43bcea1fc8574ee /src/API.hs | |
parent | 90d145189532b3691294ffb6d9326487942df4bc (diff) |
Ensure /accept-invitation is POST and not GET
Debugged this bug!
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 3c311591c210..4c67896e2448 100644 --- a/src/API.hs +++ b/src/API.hs @@ -73,4 +73,4 @@ type API = :> Post '[JSON] NoContent :<|> "accept-invitation" :> ReqBody '[JSON] T.AcceptInvitationRequest - :> Get '[JSON] NoContent + :> Post '[JSON] NoContent |