From a7156c7c80f088f2b8ff9593c4364c49c595d772 Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Mon, 24 Apr 2023 14:41:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20getLoginInfo=E7=9A=84401=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nakuru/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nakuru/protocol.py b/nakuru/protocol.py index 3991b11..cd14ccb 100644 --- a/nakuru/protocol.py +++ b/nakuru/protocol.py @@ -270,7 +270,7 @@ async def setGroupRequest(self, return False async def getLoginInfo(self) -> T.Union[Bot, bool]: - result = await fetch.http_post(f"{self.baseurl_http}/get_login_info") + result = await fetch.http_post(f"{self.baseurl_http}/get_login_info", params=self.protocol_params) if result["status"] == "ok": return Bot.parse_obj(result["data"]) return False