style: lint

This commit is contained in:
手瓜一十雪 committed 2024-09-12 09:28:41 +08:00
1 parent 1cbf75ca36
commit c6241a94e3
7 files changed
+26 -26

No files matched your search

+1 -1
View File
@@ -147,7 +147,7 @@ export class NTQQFileApi {
} catch (e) {
logger.logError('获取视频信息失败,将使用默认值', e);
}
let newFilePath = filePath + '.mp4';
const newFilePath = filePath + '.mp4';
fs.renameSync(filePath, newFilePath);
filePath = newFilePath;
const { fileName: _fileName, path, fileSize, md5 } = await this.core.apis.FileApi.uploadFile(filePath, ElementType.VIDEO);
+1 -1
View File
@@ -40,7 +40,7 @@ export class RkeyManager {
async refreshRkey(): Promise<any> {
//刷新rkey
for (let url of this.serverUrl) {
for (const url of this.serverUrl) {
try {
this.rkeyData = await RequestUtil.HttpGetJson<ServerRkeyData>(url, 'GET');
} catch (e) {