Use NotFound instead of Forbidden for missing account data (#1872)

Signed-off-by: Adam Greig <adam@adamgreig.com>
This commit is contained in:
Adam Greig 2021-06-14 14:06:14 +01:00 committed by GitHub
parent 051cd63f1e
commit eae1c46310
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"),
} }
} }