set content-type header
This commit is contained in:
@@ -99,6 +99,7 @@ func (c *client) MakeRequest(ctx context.Context, opName string, query string, r
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
req.Header.Set("Content-Type", "application/json")
|
||||||
|
|
||||||
if ctx != nil {
|
if ctx != nil {
|
||||||
req = req.WithContext(ctx)
|
req = req.WithContext(ctx)
|
||||||
|
|||||||
Reference in New Issue
Block a user