style: lint

This commit is contained in:
手瓜一十雪 2024-09-12 19:55:56 +08:00
parent d89620d7a6
commit 0c2e39214f
2 changed files with 3 additions and 3 deletions

View File

@ -148,9 +148,9 @@ export class NTQQFileApi {
logger.logError('获取视频信息失败,将使用默认值', e);
}
let fileExt = 'mp4'
let fileExt = 'mp4';
try {
let tempExt = (await fileType.fileTypeFromFile(filePath))?.ext;
const tempExt = (await fileType.fileTypeFromFile(filePath))?.ext;
if (tempExt) fileExt = tempExt;
} catch (e) {
this.context.logger.logError('获取文件类型失败', e);

View File

@ -29,7 +29,7 @@ class GetGroupInfo extends BaseAction<Payload, OB11Group> {
group_name: data.searchGroupInfo.groupName,
member_count: data.searchGroupInfo.memberNum,
max_member_count: data.searchGroupInfo.maxMemberNum,
}
};
}
return OB11Entities.group(group);
}