Files
gitlink-forgeplus/app/views/installations/index.json.jbuilder

8 lines
204 B
Ruby

json.status 0
json.message "success"
json.data do
json.array! @install_bots do |install_bot|
json.extract! install_bot, :id, :bot_id, :installer_id
json.bot_name install_bot&.bot&.name
end
end