Feature: API to list the agents for the inbox (#438)

Co-authored-by: Sojan Jose <sojan@pepalo.com>
This commit is contained in:
Pranav Raj S
2020-01-21 19:56:58 +05:45
committed by Sojan Jose
parent a2b025b548
commit 95fb6893b4
4 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
json.payload do
json.array! @inbox_members do |inbox_member|
json.name inbox_member.user.name
json.avatar_url inbox_member.user.avatar_url
end
end