Chore: API to get conversations count (#808)

Addresses: #497
This commit is contained in:
Sojan Jose
2020-05-03 12:15:10 +05:30
committed by GitHub
parent d8131e450c
commit db6e3fb43e
4 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
json.data do
json.meta do
json.mine_count @conversations_count[:mine_count]
json.unassigned_count @conversations_count[:unassigned_count]
json.all_count @conversations_count[:all_count]
end
end