From 06ff5d9bcd1481173fe9f3c150fa14dbcfba43ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Tue, 14 Mar 2023 13:43:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20issue=20where=20players=20?= =?UTF-8?q?could=20not=20be=20found?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/account/cookies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/account/cookies.py b/plugins/account/cookies.py index 5c825605..7a4e36d4 100644 --- a/plugins/account/cookies.py +++ b/plugins/account/cookies.py @@ -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: