Skip to content

Commit 1fbeb0f

Browse files
committed
added autofix warning
1 parent e11c77c commit 1fbeb0f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ayon_api/server_api.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,6 +1411,12 @@ def _download_file_to_stream(
14111411
raise
14121412
progress.next_attempt()
14131413

1414+
if api_prepended:
1415+
self.log.warning(
1416+
f"Auto-fixed endpoint '{endpoint}' -> 'api/{endpoint}'."
1417+
" Please fix the endpoit passed to the function."
1418+
)
1419+
14141420
def download_file_to_stream(
14151421
self,
14161422
endpoint: str,

0 commit comments

Comments
 (0)