🐛 Fix issue where players could not be found

This commit is contained in:
洛水居室 2023-03-14 13:43:02 +08:00
parent df8d36da3c
commit 06ff5d9bcd
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -287,7 +287,7 @@ class AccountCookiesPlugin(Plugin.Conversation):
return ConversationHandler.END
account_cookies_plugin_data.genshin_account = genshin_account
player_info = await self.players_service.get(
user.id, account_id=genshin_account.uid, region=account_cookies_plugin_data.region
user.id, player_id=genshin_account.uid, region=account_cookies_plugin_data.region
)
account_cookies_plugin_data.player = player_info
if player_info: