mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-21 22:58:05 +00:00
🐛 Fix incorrect type after updating cookies
This commit is contained in:
parent
bf9a4478a3
commit
b40a478ca7
@ -224,7 +224,7 @@ class PlayersManagesPlugin(Plugin):
|
||||
reply_markup=InlineKeyboardMarkup(buttons),
|
||||
)
|
||||
return
|
||||
cookies_data.data = cookies.json()
|
||||
cookies_data.data = cookies.to_dict()
|
||||
await self.cookies_service.update(cookies_data)
|
||||
await callback_query.edit_message_text(
|
||||
f"玩家 {player.player_id} {player_info.nickname} cookies 刷新成功", reply_markup=InlineKeyboardMarkup(buttons)
|
||||
|
Loading…
Reference in New Issue
Block a user