Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Dec 2, 2024
1 parent 62bda41 commit d8226e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ayon_api/server_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit d8226e6

Please sign in to comment.