fix: error

This commit is contained in:
手瓜一十雪
2024-11-14 11:53:55 +08:00
parent bbeac86403
commit aee19abd10
10 changed files with 9 additions and 265 deletions

View File

@@ -6,7 +6,7 @@ export class GetFriendWithCategory extends BaseAction<void, any> {
actionName = ActionName.GetFriendsWithCategory;
async _handle(payload: void) {
return (await this.core.apis.FriendApi.getBuddyV2ExWithCate(true)).map(category => ({
return (await this.core.apis.FriendApi.getBuddyV2ExWithCate()).map(category => ({
...category,
buddyList: OB11Entities.friendsV2(category.buddyList),
}));