Skip to content

Commit

Permalink
put 变成post
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkasany committed Sep 3, 2023
1 parent b1d965b commit 81f855c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ const Action = async payload => {
);
// 发送请求以创建或更新文件
axios
.put(apiUrl, commitDataJSON, axiosConfig)
.post(apiUrl, commitDataJSON, axiosConfig)
.then(response => {
console.log("File created/updated successfully:", response.data);
})
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

0 comments on commit 81f855c

Please sign in to comment.