about summary refs log tree commit diff
path: root/src/API.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/API.hs')
-rw-r--r--src/API.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/API.hs b/src/API.hs
index 956e745b30fd..caf42727db86 100644
--- a/src/API.hs
+++ b/src/API.hs
@@ -67,3 +67,7 @@ type API =
            :> SessionCookie
            :> ReqBody '[JSON] T.UnfreezeAccountRequest
            :> Post '[JSON] NoContent
+      :<|> "invite"
+           :> SessionCookie
+           :> ReqBody '[JSON] T.InviteUserRequest
+           :> Post '[JSON] NoContent