fix: ws token not work

This commit is contained in:
linyuchen
2024-04-18 17:43:43 +08:00
parent 33e63e5f1c
commit 8a9f374637
2 changed files with 6 additions and 1 deletions

View File

@@ -148,7 +148,6 @@ export async function createSendElements(messageData: OB11MessageData[], group:
let file = sendMsg.data?.file;
const payloadFileName = sendMsg.data?.name;
if (file) {
// todo: 使用缓存文件发送
const cache = await dbUtil.getFileCacheByName(file);
if (cache) {
if (fs.existsSync(cache.path)) {