revert client change

This commit is contained in:
Andre Medeiros 2022-05-23 17:41:19 -04:00
parent 17c503e0e3
commit b6c7c58062

View file

@ -59,10 +59,6 @@ func (r *Request) HTTPRequest(ctx context.Context) (*http.Request, error) {
req.Header.Add("Accept", "application/json")
req.Header.Add("User-Agent", userAgent)
if len(r.body) > 0 {
req.Header.Add("Content-Type", "multipart/form-data")
}
if r.token != "" {
req.Header.Add("Authorization", fmt.Sprintf("Bearer %s", r.token))
}