From d8226e6f7c589c35df09d1c90110460761f57ac0 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:45:33 +0100 Subject: [PATCH] small fixes --- ayon_api/server_api.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ayon_api/server_api.py b/ayon_api/server_api.py index 0410d037c..cd0ff127a 100644 --- a/ayon_api/server_api.py +++ b/ayon_api/server_api.py @@ -2121,9 +2121,6 @@ def download_file_to_stream( if not chunk_size: chunk_size = self.default_download_chunk_size - if endpoint.startswith(self._base_url): - url = endpoint - url = self._endpoint_to_url(endpoint) if progress is None: @@ -2270,7 +2267,7 @@ def _upload_file( return response def upload_file_from_stream( - self, endpoint, stream, progress, request_type, **kwargs + self, endpoint, stream, progress=None, request_type=None, **kwargs ): """Upload file to server from bytes.