From 8480eefde57bea69ceff2d912ad45ba9de6622fa Mon Sep 17 00:00:00 2001 From: Vivek Kumar Date: Mon, 17 Jun 2024 11:26:53 +0530 Subject: [PATCH] add http status code to APIResponse --- pkg/client/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client/types.go b/pkg/client/types.go index cdfe986f..7be2dd0b 100644 --- a/pkg/client/types.go +++ b/pkg/client/types.go @@ -61,6 +61,6 @@ type APIResponse struct { // Error is the error message, if this is an error response. Error string `json:"error"` - // StatusCode is the HTTP status code of the response. + // HTTPStatusCode is the HTTP status code of the response. HTTPStatusCode int `json:"httpStatusCode"` }