1
0
mirror of synced 2024-11-27 23:40:48 +01:00

sao: fix my store

This commit is contained in:
Kevin Trocolli 2024-10-06 16:09:09 -04:00
parent 0cef797a8a
commit 451754cf3c

View File

@ -688,6 +688,8 @@ class SaoBase:
if profile_data['my_shop']:
ac = await self.data.arcade.get_arcade(profile_data['my_shop'])
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']
return resp.make()