style: lint

This commit is contained in:
手瓜一十雪 committed 2025-01-25 12:56:02 +08:00
1 parent c1cac8de19
commit e6da366cf4
2 files changed
+3 -4

No files matched your search

+3 -3
View File
@@ -67,7 +67,7 @@ export class NTQQGroupApi {
1,
1000
).then((data) => {
resolve(data[1])
resolve(data[1]);
}).catch(reject);
onCancel(() => {
@@ -78,9 +78,9 @@ export class NTQQGroupApi {
const task = new CancelableTask(executor);
this.context.session.getGroupService().getGroupShutUpMemberList(groupCode).then(e => {
if (e.result !== 0) {
task.cancel()
task.cancel();
}
})
});
return await task.catch(() => []);
}
-1
View File
@@ -53,7 +53,6 @@ export const OB11SetConfigHandler: RequestHandler = async (req, res) => {
await WebUiDataRuntime.setOB11Config(JSON.parse(req.body.config));
return sendSuccess(res, null);
} catch (e) {
console.log(e);
return sendError(res, 'Error: ' + e);
}
};