fix: build

This commit is contained in:
手瓜一十雪 committed 2024-09-12 00:17:35 +08:00
1 parent f312368df2
commit 82608dd5ff
3 files changed
+19 -13

No files matched your search

-2
View File
@@ -483,8 +483,6 @@ export class OneBotMsgApi {
if (uri2LocalRes.success) thumb = uri2LocalRes.path;
}
const videoEle = await this.core.apis.FileApi.createValidSendVideoElement(context, path, fileName, thumb);
context.deleteAfterSentFiles.push(videoEle.videoElement.filePath);
return videoEle;
},