Skip to content

Commit

Permalink
🎨 新深渊强制使用调用者Cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
KimigaiiWuyi committed Jul 3, 2024
1 parent 48bdf7b commit ca0a56a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GenshinUID/utils/api/mys/mys_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def get_poetry_abyss_data(
) -> Union[PoetryAbyssDatas, int]:
server_id = self.RECOGNIZE_SERVER.get(uid[0])
HEADER = deepcopy(self._HEADER)
ck = await self.get_ck(uid)
ck = await self.get_ck(uid, 'OWNER')
if ck is None:
return -51
HEADER['Cookie'] = ck
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center">
<a href="https://github.com/KimigaiiWuyi/GenshinUID/"><img src="https://s2.loli.net/2023/03/25/bareSdYcsmRPOyZ.png" width="256" height="256" alt="GenshinUID"></a>
</p>
<h1 align = "center">GenshinUID 4.6.1</h1>
<h1 align = "center">GenshinUID 4.7.2</h1>
<h4 align = "center">✨支持OneBot(QQ)、QQ频道、微信、开黑啦、Telegram的全功能原神Bot插件✨</h4>
<div align = "center">
<a href="https://docs.sayu-bot.com/" target="_blank">安装文档</a> &nbsp; · &nbsp;
Expand Down

0 comments on commit ca0a56a

Please sign in to comment.