Skip to content

Commit 0f7df77

Browse files
committed
fix put request method
1 parent 8816f60 commit 0f7df77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/managers/objects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class BlobObjectsManager {
1717

1818
const { response } = await this.client.api.request<PutObjectResponse>(
1919
"put",
20-
{ method: "POST", body: formData, params: payload.params },
20+
{ method: "PUT", body: formData, params: payload.params },
2121
);
2222

2323
return assertPutObjectResponse(response);

0 commit comments

Comments
 (0)