From 2632dc10fdf8dc6dcde91bea0820b2cb67957607 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sun, 2 Aug 2020 18:00:05 +0100 Subject: Ensure /accept-invitation is POST and not GET Debugged this bug! --- src/API.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1