refactor: inline getApiContext()

This commit is contained in:
Wesley F. Young committed 2024-08-11 19:10:42 +08:00
1 parent e88c0346f3
commit 89e777f99e
71 files changed
+173 -167

No files matched your search

@@ -22,7 +22,7 @@ export class GetGroupHonorInfo extends BaseAction<Payload, Array<any>> {
if (!payload.type) {
payload.type = WebHonorType.ALL;
}
const NTQQWebApi = this.CoreContext.getApiContext().WebApi;
const NTQQWebApi = this.CoreContext.apis.WebApi;
return await NTQQWebApi.getGroupHonorInfo(payload.group_id.toString(), payload.type);
}
}