Skip to content

Commit

Permalink
SL-180 Update analytics_callback_event_handler.rb (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
git-lama authored Jun 16, 2021
1 parent 715533e commit 0ef5398
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/handlers/analytics_callback_event_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def handle
host_name = Rails.configuration.x.url_host
params['meta_analytics-callback-url'] = "https://#{host_name}/bigbluebutton/api/analytics_callback"
callback_attributes = { analytics_callback_url: analytics_callback_url }
CallbackData.find_or_create_by!(meeting_id: meeting_id, callback_attributes: callback_attributes)
callback_data = CallbackData.find_or_create_by!(meeting_id: meeting_id)
callback_data.update!(callback_attributes: callback_attributes)
end
end

0 comments on commit 0ef5398

Please sign in to comment.