X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/7a7629297f382c47a84ec5786c8cdd52224887ae..2e76a99938547ca608f9e109bbe3322571976495:/src/apiclient/__init__.py?ds=sidebyside diff --git a/src/apiclient/__init__.py b/src/apiclient/__init__.py index 07b8123..264f030 100644 --- a/src/apiclient/__init__.py +++ b/src/apiclient/__init__.py @@ -33,7 +33,7 @@ def api_call(user, path, method='POST', data=None, files=None): raise ApiError("WL API call error %s, path: %s" % (r.status_code, path)) -def youtube_call(method, url, params=None, json=None, data=None, resumable_data=None): +def youtube_call(method, url, params=None, json=None, data=None, resumable_file_path=None): from .models import YouTubeToken yt = YouTubeToken.objects.first() - return yt.call(method, url, params=params, json=json, data=data, resumable_data=resumable_data) + return yt.call(method, url, params=params, json=json, data=data, resumable_file_path=resumable_file_path)