fix: Auto populate team after assigned via API (#5250)

This commit is contained in:
Tejaswini Chile
2022-08-12 13:40:28 +05:30
committed by GitHub
parent 831a3bcd50
commit 2397326324
4 changed files with 10 additions and 0 deletions

View File

@@ -44,4 +44,11 @@ class Team < ApplicationRecord
def reporting_events
account.reporting_events.where(conversation_id: conversations.pluck(:id))
end
def push_event_data
{
id: id,
name: name
}
end
end