koishi-plugin-oni-sync-bot 0.0.9 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -215,7 +215,7 @@ async function syncSingleImage(sourceBot, targetBot, fileName, config) {
215
215
  form.append("text", CONFIG.UPLOAD_TEXT);
216
216
  form.append("comment", CONFIG.UPLOAD_COMMENT);
217
217
  form.append("token", token);
218
- form.append("ignorewarnings", "1");
218
+ form.append("ignorewarnings", "0");
219
219
  form.append("format", "json");
220
220
  form.append("file", imageBuffer, {
221
221
  filename: fileName.split(":").pop() || fileName,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-oni-sync-bot",
3
3
  "description": "缺氧Wiki站镜像点同步-测试",
4
- "version": "0.0.9",
4
+ "version": "0.1.0",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [