Forget to commit on user update when edt notification is send
This commit is contained in:
parent
eb84420152
commit
299dc340af
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ async def notif():
|
|||
else:
|
||||
if nt:
|
||||
await bot.send_message(u.id, lang(u, "notif_event")+str(nt), parse_mode=ParseMode.MARKDOWN)
|
||||
session.commit()
|
||||
|
||||
|
||||
async def notif_cmd(message: types.Message):
|
||||
|
|
Reference in a new issue