style: lint
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
This commit is contained in:
1 parent
c1cac8de19
commit
9c88fcb610
4 files changed
+41
-42
No files matched your search
@@ -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(() => []);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user