From 3bb02fcbb7fc0f47242229471806b044eb8b27ea Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 18 May 2021 11:10:12 +0200 Subject: [PATCH] fix: remove error status from json --- api/error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/error.go b/api/error.go index 36d8800..82da8e3 100644 --- a/api/error.go +++ b/api/error.go @@ -13,7 +13,7 @@ type Err struct { // error small description Reason string `json:"reason"` // associated HTTP status - Status int + Status int `json:"-"` } func (e Err) Error() string { -- 2.40.1