forked from Dniel97/artemis
wacca: fix lily using wrong handler for hosuing/start
This commit is contained in:
parent
05be10dabc
commit
0422a2bfd4
@ -41,19 +41,6 @@ class WaccaLily(WaccaS):
|
|||||||
resp = GetNewsResponseV3()
|
resp = GetNewsResponseV3()
|
||||||
return resp.make()
|
return resp.make()
|
||||||
|
|
||||||
def handle_housing_start_request(self, data: Dict) -> Dict:
|
|
||||||
req = HousingStartRequestV2(data)
|
|
||||||
|
|
||||||
if req.appVersion.country != "JPN" and req.appVersion.country in [
|
|
||||||
region.name for region in WaccaConstants.Region
|
|
||||||
]:
|
|
||||||
region_id = WaccaConstants.Region[req.appVersion.country]
|
|
||||||
else:
|
|
||||||
region_id = self.region_id
|
|
||||||
|
|
||||||
resp = HousingStartResponseV1(region_id)
|
|
||||||
return resp.make()
|
|
||||||
|
|
||||||
def handle_user_status_create_request(self, data: Dict) -> Dict:
|
def handle_user_status_create_request(self, data: Dict) -> Dict:
|
||||||
req = UserStatusCreateRequest(data)
|
req = UserStatusCreateRequest(data)
|
||||||
resp = super().handle_user_status_create_request(data)
|
resp = super().handle_user_status_create_request(data)
|
||||||
|
Loading…
Reference in New Issue
Block a user