mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
fixed bot安装仓库列表
This commit is contained in:
@@ -17,7 +17,7 @@ class InstallationsController < ApplicationController
|
||||
|
||||
def repositories
|
||||
bot = Bot.find_by(uid: current_user.id)
|
||||
@install_bots = BotInstall.where(:installer_id => bot.owner_id)
|
||||
@install_bots = BotInstall.where(bot_id: bot.id).where(:installer_id => bot.owner_id)
|
||||
end
|
||||
|
||||
def update_secret
|
||||
|
||||
Reference in New Issue
Block a user