Skip to content

Commit

Permalink
Merge pull request hummingbot#3161 from szmcdull/digifinex
Browse files Browse the repository at this point in the history
[digifinex] add user-agent header
  • Loading branch information
dennisocana authored Apr 5, 2021
2 parents 76a5df2 + 4a0491b commit 91ebd05
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ async def request(self,
headers = self._auth.get_private_headers(path_url, request_id, params)
else:
headers = {}
headers['User-Agent'] = 'hummingbot'

if method == "get":
url = f'{url}?{urllib.parse.urlencode(params)}'
Expand Down

0 comments on commit 91ebd05

Please sign in to comment.