refactor: rename all coreContext -> core
This commit is contained in:
1 parent
542c5beb1b
commit
b1a1fdbeee
79 files changed
+386
-389
No files matched your search
@@ -5,7 +5,7 @@ import { ActionName } from '../types';
|
||||
export class GetFriendWithCategory extends BaseAction<void, any> {
|
||||
actionName = ActionName.GetFriendsWithCategory;
|
||||
async _handle(payload: void) {
|
||||
return (await this.CoreContext.apis.FriendApi.getBuddyV2ExWithCate(true)).map(category => ({
|
||||
return (await this.core.apis.FriendApi.getBuddyV2ExWithCate(true)).map(category => ({
|
||||
...category,
|
||||
buddyList: OB11Constructor.friendsV2(category.buddyList),
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user