BUILD: TEST

This commit is contained in:
手瓜一十雪 committed 2024-09-11 23:18:38 +08:00
1 parent a9f5069649
commit 95bd74bb0d
8 files changed
+36 -50

No files matched your search

+1 -4
View File
@@ -805,7 +805,6 @@ export class OneBotMsgApi {
}
const {
path,
isLocal,
fileName,
errMsg,
success,
@@ -816,9 +815,7 @@ export class OneBotMsgApi {
throw Error('文件下载失败' + errMsg);
}
if (!isLocal) { // 只删除http和base64转过来的文件
deleteAfterSentFiles.push(path);
}
deleteAfterSentFiles.push(path);
return { path, fileName: inputdata.name ?? fileName };
}