diff options
Diffstat (limited to 'assessments/tt/src/API.hs')
-rw-r--r-- | assessments/tt/src/API.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/assessments/tt/src/API.hs b/assessments/tt/src/API.hs index 4c67896e2448..471fa761e0f4 100644 --- a/assessments/tt/src/API.hs +++ b/assessments/tt/src/API.hs @@ -20,9 +20,8 @@ type API = :> ReqBody '[JSON] T.CreateAccountRequest :> Post '[JSON] NoContent :<|> "verify" - :> QueryParam' '[Required] "username" Text - :> QueryParam' '[Required] "secret" T.RegistrationSecret - :> Get '[JSON] NoContent + :> ReqBody '[JSON] T.VerifyAccountRequest + :> Post '[JSON] NoContent -- accounts: Read -- accounts: Update -- accounts: Delete |