Skip to content

Commit

Permalink
Merge branch 'patch-2'
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Oct 24, 2022
2 parents a24cc57 + 80de702 commit 9abe916
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion trakt/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,6 @@ def _handle_request(self, method, url, data=None):
self.logger.debug('%s: %s', method, url)
HEADERS['trakt-api-key'] = CLIENT_ID
HEADERS['Authorization'] = 'Bearer {0}'.format(OAUTH_TOKEN)
self.logger.debug('headers: %s', str(HEADERS))
self.logger.debug('method, url :: %s, %s', method, url)
if method == 'get': # GETs need to pass data as params, not body
response = session.request(method, url, headers=HEADERS,
Expand Down

0 comments on commit 9abe916

Please sign in to comment.