ongeki: fix frontend profiles not loading due to missing await

This commit is contained in:
Hay1tsme 2024-03-29 20:09:22 -04:00
parent 87c7c91e3a
commit 10582cc1fc

View File

@ -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,