Chore: API Improvements (#3469)

This commit is contained in:
Sojan Jose
2021-11-27 00:48:46 +05:30
committed by GitHub
parent 55843c5bad
commit add004a56e
13 changed files with 55 additions and 13 deletions

View File

@@ -1,3 +1,3 @@
json.array! @agent_bots do |agent_bot|
json.partial! 'api/v1/models/agent_bot.json.jbuilder', resource: agent_bot
json.partial! 'api/v1/models/agent_bot.json.jbuilder', resource: AgentBotPresenter.new(agent_bot)
end