Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 1feb825

Browse files
fix: remove query params
1 parent 72d299d commit 1feb825

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

storage3/_async/file_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def get_public_url(self, path: str, options: TransformOptions = {}) -> str
8989
# query_string = f"?{transformation_query}" if transformation_query else ""
9090
query_string = ""
9191
_path = self._get_final_path(path)
92-
return f"{self._client.base_url}{render_path}/public/{_path}/{query_string}"
92+
return f"{self._client.base_url}{render_path}/public/{_path}"
9393

9494
async def move(self, from_path: str, to_path: str) -> dict[str, str]:
9595
"""

storage3/_sync/file_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def get_public_url(self, path: str, options: TransformOptions = {}) -> str:
8989
# query_string = f"?{transformation_query}" if transformation_query else ""
9090
query_string = ""
9191
_path = self._get_final_path(path)
92-
return f"{self._client.base_url}{render_path}/public/{_path}/{query_string}"
92+
return f"{self._client.base_url}{render_path}/public/{_path}"
9393

9494
def move(self, from_path: str, to_path: str) -> dict[str, str]:
9595
"""

0 commit comments

Comments
 (0)