mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 16:24:25 +08:00
do not set custom user agent for IMF exchange rate data source
This commit is contained in:
@@ -80,6 +80,8 @@ func (e *InternationalMonetaryFundDataSource) BuildRequests() ([]*http.Request,
|
||||
return nil, err
|
||||
}
|
||||
|
||||
req.Header.Set("User-Agent", "") // Do not set custom user agent
|
||||
|
||||
return []*http.Request{req}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user