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

Signed-off-by: Adam Greig <adam@adamgreig.com>
main
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
1 changed files with 1 additions and 1 deletions

View File

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