ns-rss-spider 0.0.28 → 0.0.29
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.
- package/dist/cjs/upload/index.js +1 -2
- package/package.json +1 -1
package/dist/cjs/upload/index.js
CHANGED
|
@@ -34,7 +34,6 @@ __export(upload_exports, {
|
|
|
34
34
|
module.exports = __toCommonJS(upload_exports);
|
|
35
35
|
var import_lodash = require("lodash");
|
|
36
36
|
var import_axios = __toESM(require("axios"));
|
|
37
|
-
var import_dayjs = __toESM(require("dayjs"));
|
|
38
37
|
var import_zx = require("zx");
|
|
39
38
|
async function uploadContent({
|
|
40
39
|
app,
|
|
@@ -51,7 +50,7 @@ async function uploadContent({
|
|
|
51
50
|
console.log(import_zx.chalk.green("正在获取上传地址"));
|
|
52
51
|
const uploadRst = await import_axios.default.post(getUploadApi, {
|
|
53
52
|
app,
|
|
54
|
-
name:
|
|
53
|
+
name: item.guid || item.link
|
|
55
54
|
}, {
|
|
56
55
|
responseType: "json"
|
|
57
56
|
}).catch((e) => {
|