Bugfixes + ability to set values per query.

This commit is contained in:
2023-04-08 00:54:48 +01:00
parent 23f88a91d2
commit 689b1efc43
7 changed files with 119 additions and 13 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ func (c *BaseClient) executeQuery(query []byte, headers any) (result any, err er
}
for key, value := range headers.(map[string]interface{}) {
httpRequest.Header.Add(key, value.(string))
httpRequest.Header.Add(key, fmt.Sprintf("%s", value))
}
var httpResponse *http.Response