FIX update_column bug

This commit is contained in:
Jasder 2020-08-28 11:50:14 +08:00
parent 903103ec5d
commit 1290b3446f
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class Ci::CloudAccountsController < Ci::BaseController
begin
repo.activate!(ci_user.user_id)
@project.update_column(:open_devops, true)
@cloud_account.update_column(ci_user_id: ci_user.user_id)
@cloud_account.update_column(:ci_user_id, ci_user.user_id)
render_ok
rescue Exception => ex
render_error(ex.message)