Skip to content

Commit 7233c41

Browse files
committed
fix stat updating
1 parent 3f385a2 commit 7233c41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ async def data_loop(self):
225225
"version": __version__
226226
}
227227

228-
await self.session.post('https://api.kybr.tk/modmail', data=data)
228+
resp = await self.session.post('https://api.kybr.tk/modmail', json=data)
229+
229230
await asyncio.sleep(3600)
230231

231232
@property

0 commit comments

Comments
 (0)