From eae1c46310e1d6ab2d8b18a61b808a1dd77b45b2 Mon Sep 17 00:00:00 2001 From: Adam Greig Date: Mon, 14 Jun 2021 14:06:14 +0100 Subject: [PATCH] Use NotFound instead of Forbidden for missing account data (#1872) Signed-off-by: Adam Greig --- clientapi/routing/account_data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), } }