Skip to content

Commit

Permalink
fix: getLoginInfo的401问题
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Apr 24, 2023
1 parent 8eb6040 commit a7156c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nakuru/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7156c7

Please sign in to comment.