From 4a8b5cf0c58fc111210327d382493c3dbf737a24 Mon Sep 17 00:00:00 2001 From: jeezft Date: Tue, 14 Oct 2025 11:40:57 +0300 Subject: [PATCH] Added comment to clarify JSON request execution in executeRequest function --- api/fiscal.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/fiscal.go b/api/fiscal.go index 1b87b5a..d39779a 100644 --- a/api/fiscal.go +++ b/api/fiscal.go @@ -8,6 +8,7 @@ import ( ) func (c *Client) executeRequest(ctx context.Context, request FiscalRequest, response interface{}) error { + //execute request with json body in request reqJson, err := json.Marshal(request) if err != nil { return fmt.Errorf("failed to marshal request: %w", err)