Skip to content
Snippets Groups Projects
Commit 167a987d authored by Teal's avatar Teal
Browse files

log telegrambotsub

parent 409cb04c
Branches
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ class TelegramBotSubscriber
end
def handle_session_updated(event)
Rails.logger.info("session event #{event.inspect}")
model_name, action = event.name.split('.')
record = event.payload[:record]
changes = event.payload[:changes]
......@@ -32,6 +33,7 @@ class TelegramBotSubscriber
end
def handle_session_speaker_event(event)
Rails.logger.info("session_speaker event #{event.inspect}")
model_name, action = event.name.split('.')
record = event.payload[:record]
session = record.session
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment