Skip to content

Commit a234136

Browse files
committed
update file path
1 parent d6951df commit a234136

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jigsawstack/store.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def upload(self, file: bytes, options=FileUploadParams) -> Any:
9999
return resp
100100

101101
def get(self, key: str) -> Any:
102-
path = f"/store/file/{key}"
102+
path = f"/store/file/read/{key}"
103103
resp = Request(
104104
config=self.config,
105105
path=path,
@@ -109,7 +109,7 @@ def get(self, key: str) -> Any:
109109
return resp
110110

111111
def delete(self, key: str) -> FileDeleteResponse:
112-
path = f"/store/file/{key}"
112+
path = f"/store/file/read/{key}"
113113
resp = Request(
114114
config=self.config,
115115
path=path,
@@ -201,7 +201,7 @@ async def upload(self, file: bytes, options=FileUploadParams) -> Any:
201201
return resp
202202

203203
async def get(self, key: str) -> Any:
204-
path = f"/store/file/{key}"
204+
path = f"/store/file/read/{key}"
205205
resp = await AsyncRequest(
206206
config=self.config,
207207
path=path,
@@ -211,7 +211,7 @@ async def get(self, key: str) -> Any:
211211
return resp
212212

213213
async def delete(self, key: str) -> FileDeleteResponse:
214-
path = f"/store/file/{key}"
214+
path = f"/store/file/read/{key}"
215215
resp = AsyncRequest(
216216
config=self.config,
217217
path=path,

0 commit comments

Comments
 (0)