Correct response code for endpoint
This commit is contained in:
parent
c3747794d4
commit
18498b6032
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ routes pipe config = do
|
|||
oAdd <- param "address"
|
||||
c <- param "code"
|
||||
liftAndCatchIO $ run (addAccCode oAdd c)
|
||||
status created201
|
||||
status accepted202
|
||||
--Get user associated with session
|
||||
get "/api/user" $ do
|
||||
sess <- param "session"
|
||||
|
|
Loading…
Reference in a new issue