From 19df93ba315ed7e90180d545d31b8e169e1ee2ce Mon Sep 17 00:00:00 2001 From: Adam Greig Date: Fri, 11 Jun 2021 11:19:50 +0100 Subject: [PATCH] Use NotFound instead of Forbidden for missing account data 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 22e635139..03025f1da 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"), } }