mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 04:45:46 +00:00
style: lint
This commit is contained in:
parent
d89620d7a6
commit
0c2e39214f
@ -148,9 +148,9 @@ export class NTQQFileApi {
|
|||||||
logger.logError('获取视频信息失败,将使用默认值', e);
|
logger.logError('获取视频信息失败,将使用默认值', e);
|
||||||
}
|
}
|
||||||
|
|
||||||
let fileExt = 'mp4'
|
let fileExt = 'mp4';
|
||||||
try {
|
try {
|
||||||
let tempExt = (await fileType.fileTypeFromFile(filePath))?.ext;
|
const tempExt = (await fileType.fileTypeFromFile(filePath))?.ext;
|
||||||
if (tempExt) fileExt = tempExt;
|
if (tempExt) fileExt = tempExt;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.context.logger.logError('获取文件类型失败', e);
|
this.context.logger.logError('获取文件类型失败', e);
|
||||||
|
@ -29,7 +29,7 @@ class GetGroupInfo extends BaseAction<Payload, OB11Group> {
|
|||||||
group_name: data.searchGroupInfo.groupName,
|
group_name: data.searchGroupInfo.groupName,
|
||||||
member_count: data.searchGroupInfo.memberNum,
|
member_count: data.searchGroupInfo.memberNum,
|
||||||
max_member_count: data.searchGroupInfo.maxMemberNum,
|
max_member_count: data.searchGroupInfo.maxMemberNum,
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
return OB11Entities.group(group);
|
return OB11Entities.group(group);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user