fix
Some checks failed
Deploy Dev / Push (pull_request) Successful in 25s
Deploy Dev / Build (pull_request) Successful in 48s
Deploy Dev / Deploy dev (pull_request) Failing after 6s

This commit is contained in:
Egor Matveev 2025-06-15 14:56:49 +03:00
parent 156e1407ed
commit f4af02ec1d
2 changed files with 3 additions and 2 deletions

View File

@ -77,7 +77,7 @@ class Answer:
body = {'text': text, 'chat_id': self.user['chat_id'], 'parse_mode': 'Markdown'}
if reply_markup:
body['reply_markup'] = reply_markup.to_json()
queues.set_task('botalka_mailbox', {'project': 'ruz-bot', 'name': 'telegram-bot', 'body': body}, 1)
queues.set_task('botalka_mailbox', {'project': 'ruz-bot', 'name': 'telegram-bot', 'body': body}, 5)
def set_state(self, state: str):
self.user['state'] = state

View File

@ -12,7 +12,8 @@ fields = [
'date_start',
'date_end',
'lecturer_profiles',
'stream_links'
'stream_links',
'type',
]