aboutsummaryrefslogtreecommitdiff
path: root/clientapi
diff options
context:
space:
mode:
authorAdam Greig <adam@adamgreig.com>2021-06-14 14:06:14 +0100
committerGitHub <noreply@github.com>2021-06-14 14:06:14 +0100
commiteae1c46310e1d6ab2d8b18a61b808a1dd77b45b2 (patch)
tree9692648a536eeba11e0ce4e6ff45e9cd55f5c926 /clientapi
parent051cd63f1e43e50c822af98234798616cfb70045 (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.go2
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"),
}
}