forked from Hay1tsme/artemis
ongeki: fix frontend profiles not loading due to missing await
This commit is contained in:
parent
87c7c91e3a
commit
10582cc1fc
@ -44,7 +44,7 @@ class OngekiFrontend(FE_Base):
|
|||||||
|
|
||||||
self.version = usr_sesh.ongeki_version
|
self.version = usr_sesh.ongeki_version
|
||||||
if usr_sesh.user_id > 0:
|
if usr_sesh.user_id > 0:
|
||||||
profile_data =self.data.profile.get_profile_data(usr_sesh.user_id, self.version)
|
profile_data =await self.data.profile.get_profile_data(usr_sesh.user_id, self.version)
|
||||||
rival_list = await self.data.profile.get_rivals(usr_sesh.user_id)
|
rival_list = await self.data.profile.get_rivals(usr_sesh.user_id)
|
||||||
rival_data = {
|
rival_data = {
|
||||||
"userRivalList": rival_list,
|
"userRivalList": rival_list,
|
||||||
|
Loading…
Reference in New Issue
Block a user