Use NotFound instead of Forbidden for missing account data

Signed-off-by: Adam Greig <adam@adamgreig.com>
This commit is contained in:
Adam Greig 2021-06-11 11:19:50 +01:00
parent 2c9a390fa6
commit 19df93ba31
No known key found for this signature in database
GPG key ID: 8B3FE5477B1DD9A0

View file

@ -69,7 +69,7 @@ func GetAccountData(
return util.JSONResponse{ return util.JSONResponse{
Code: http.StatusNotFound, Code: http.StatusNotFound,
JSON: jsonerror.Forbidden("data not found"), JSON: jsonerror.NotFound("data not found"),
} }
} }