Skip to content

Commit

Permalink
Merge branch 'fix-wrong-uri'
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Oct 25, 2022
2 parents f6875ea + d6fe4dd commit 7118e50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trakt/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def get_watched(list_type=None, extended=None):
if list_type and list_type not in valid_type:
raise ValueError('list_type must be one of {}'.format(valid_type))

uri = 'sync/watchlist'
uri = 'sync/watched'
if list_type:
uri += '/{}'.format(list_type)

Expand Down Expand Up @@ -397,7 +397,7 @@ def get_collection(list_type=None, extended=None):
if list_type and list_type not in valid_type:
raise ValueError('list_type must be one of {}'.format(valid_type))

uri = 'sync/watchlist'
uri = 'sync/collection'
if list_type:
uri += '/{}'.format(list_type)

Expand Down

0 comments on commit 7118e50

Please sign in to comment.