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

8 lines
240 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, :state, :create_time, :update_time
json.bot_name install_bot&.bot&.name
end
end