forked from Hay1tsme/artemis
sao: fix my store
This commit is contained in:
@ -688,6 +688,8 @@ class SaoBase:
|
|||||||
if profile_data['my_shop']:
|
if profile_data['my_shop']:
|
||||||
ac = await self.data.arcade.get_arcade(profile_data['my_shop'])
|
ac = await self.data.arcade.get_arcade(profile_data['my_shop'])
|
||||||
if ac:
|
if ac:
|
||||||
|
# TODO: account for machine override
|
||||||
|
resp.user_basic_data[0].my_store_id = f"{ac['country']}0{ac['id']:04d}"
|
||||||
resp.user_basic_data[0].my_store_name = ac['name']
|
resp.user_basic_data[0].my_store_name = ac['name']
|
||||||
|
|
||||||
return resp.make()
|
return resp.make()
|
||||||
|
Reference in New Issue
Block a user