feat: Agent & Inbox Report APIs (#1391)

This commit is contained in:
Sojan Jose
2020-11-16 19:41:52 +05:30
committed by GitHub
parent faaed17418
commit eb2ded6f65
11 changed files with 102 additions and 12 deletions

View File

@@ -59,7 +59,7 @@ class Integrations::Slack::SendOnSlackService < Base::SendOnChannelService
end
def sender_type(sender)
sender.class == Contact ? 'Contact' : 'Agent'
sender.instance_of?(Contact) ? 'Contact' : 'Agent'
end
def update_reference_id