mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-13 21:44:32 +08:00
fixed bot安装id换成installer_id
This commit is contained in:
@@ -2,10 +2,7 @@ json.status 0
|
||||
json.message "success"
|
||||
json.data do
|
||||
json.array! @install_bots do |install_bot|
|
||||
json.installation_id install_bot.id
|
||||
json.extract! install_bot.bot, :id, :name
|
||||
json.bot_id install_bot.bot.id
|
||||
json.bot_name install_bot.bot.name
|
||||
|
||||
json.extract! install_bot, :id, :bot_id, :installer_id, :state, :create_time, :update_time
|
||||
json.bot_name install_bot&.bot&.name
|
||||
end
|
||||
end
|
||||
@@ -1,5 +1,5 @@
|
||||
json.partial! "commons/success"
|
||||
|
||||
json.extract! @install_bot, :id, :bot_id, :installer_id, :state, :create_time, :update_time
|
||||
json.bot_name @install_bot.bot.name
|
||||
json.bot_name @install_bot&.bot&.name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user