Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4a8b5cf0c5 |
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user