diff options
author | Adam Greig <adam@adamgreig.com> | 2021-06-14 14:06:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-14 14:06:14 +0100 |
commit | eae1c46310e1d6ab2d8b18a61b808a1dd77b45b2 (patch) | |
tree | 9692648a536eeba11e0ce4e6ff45e9cd55f5c926 /clientapi | |
parent | 051cd63f1e43e50c822af98234798616cfb70045 (diff) |
Use NotFound instead of Forbidden for missing account data (#1872)
Signed-off-by: Adam Greig <adam@adamgreig.com>
Diffstat (limited to 'clientapi')
-rw-r--r-- | clientapi/routing/account_data.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/account_data.go b/clientapi/routing/account_data.go index 22e63513..03025f1d 100644 --- a/clientapi/routing/account_data.go +++ b/clientapi/routing/account_data.go @@ -69,7 +69,7 @@ func GetAccountData( return util.JSONResponse{ Code: http.StatusNotFound, - JSON: jsonerror.Forbidden("data not found"), + JSON: jsonerror.NotFound("data not found"), } } |