style: lint
This commit is contained in:
1 parent
370fc24695
commit
103fc9a198
2 files changed
+3
-3
No files matched your search
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user