(ctx context.Context, endpoint endpoint, data any, authFn authFunc)
| 471 | } |
| 472 | |
| 473 | func (c *Client) delete(ctx context.Context, endpoint endpoint, data any, authFn authFunc) ([]byte, error) { |
| 474 | return c.request(ctx, http.MethodDelete, endpoint, data, authFn) |
| 475 | } |
| 476 | |
| 477 | func (c *Client) setBaseHeaders(r *http.Request) { |
| 478 | r.Header.Set("Content-type", "application/json") |
no test coverage detected