From d6fe4dddc9076444bede34b69b41b879624731f7 Mon Sep 17 00:00:00 2001 From: twolaw Date: Mon, 13 Jun 2022 20:18:07 +0200 Subject: [PATCH] fix wrong uri in sync.py --- trakt/sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trakt/sync.py b/trakt/sync.py index c4bf7cfe..0fd517f9 100644 --- a/trakt/sync.py +++ b/trakt/sync.py @@ -357,7 +357,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) @@ -394,7 +394,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)