forked from Dniel97/artemis
wacca: fix handle_user_status_create_request for lily
This commit is contained in:
parent
e7f35db3a4
commit
d467070ba7
@ -43,13 +43,18 @@ class WaccaLily(WaccaS):
|
||||
|
||||
def handle_user_status_create_request(self, data: Dict) -> Dict:
|
||||
req = UserStatusCreateRequest(data)
|
||||
resp = super().handle_user_status_create_request(data)
|
||||
super().handle_user_status_create_request(data)
|
||||
|
||||
new_user = self.data.profile.get_profile(aime_id=req.aimeId)
|
||||
|
||||
if new_user is None:
|
||||
return BaseResponse().make()
|
||||
|
||||
self.data.item.put_item(
|
||||
req.aimeId, WaccaConstants.ITEM_TYPES["navigator"], 210002
|
||||
) # Lily, Added Lily
|
||||
|
||||
return resp
|
||||
return UserStatusCreateResponseV1(new_user['id'], new_user['username']).make()
|
||||
|
||||
def handle_user_status_get_request(self, data: Dict) -> Dict:
|
||||
req = UserStatusGetRequest(data)
|
||||
|
Loading…
Reference in New Issue
Block a user