Fix map overload in Chusan
This commit is contained in:
parent
7ebd9bfb8a
commit
8f4c08f825
@ -104,7 +104,8 @@ class ChuniNew(ChuniBase):
|
||||
return {"returnCode": "1"}
|
||||
|
||||
async def handle_get_user_map_area_api_request(self, data: Dict) -> Dict:
|
||||
user_map_areas = await self.data.item.get_map_areas(data["userId"])
|
||||
map_area_ids = [int(area["mapAreaId"]) for area in data["mapAreaIdList"]]
|
||||
user_map_areas = await self.data.item.get_map_areas(data["userId"], map_area_ids)
|
||||
|
||||
map_areas = []
|
||||
for map_area in user_map_areas:
|
||||
|
Loading…
Reference in New Issue
Block a user