Skip to content

Commit 78be359

Browse files
authored
fix renameFile HTTP method
1 parent 3f2e121 commit 78be359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/manage/file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ const renameFile = function (
514514

515515
const requestOptions = {
516516
url: "https://api.imagekit.io/v1/files/rename",
517-
method: "POST",
517+
method: "PUT",
518518
json: data,
519519
};
520520

0 commit comments

Comments
 (0)