fix: method signature of _handle
This commit is contained in:
1 parent
ad7dc3b6b5
commit
bde27518c8
69 files changed
+97
-78
No files matched your search
@@ -16,7 +16,7 @@ export default class SetGroupLeave extends BaseAction<Payload, any> {
|
||||
actionName = ActionName.SetGroupLeave;
|
||||
PayloadSchema = SchemaData;
|
||||
|
||||
protected async _handle(payload: Payload): Promise<any> {
|
||||
async _handle(payload: Payload): Promise<any> {
|
||||
const NTQQGroupApi = this.CoreContext.getApiContext().GroupApi;
|
||||
await NTQQGroupApi.quitGroup(payload.group_id.toString());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user