Ensure /accept-invitation is POST and not GET

Debugged this bug!
This commit is contained in:
William Carroll 2020-08-02 18:00:05 +01:00
parent 90d1451895
commit 2632dc10fd

View file

@ -73,4 +73,4 @@ type API =
:> Post '[JSON] NoContent
:<|> "accept-invitation"
:> ReqBody '[JSON] T.AcceptInvitationRequest
:> Get '[JSON] NoContent
:> Post '[JSON] NoContent