Browse Source

FIX update_column bug

tags/v1.0.0
Jasder 5 years ago
parent
commit
1290b3446f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/ci/cloud_accounts_controller.rb

+ 1
- 1
app/controllers/ci/cloud_accounts_controller.rb 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)


Loading…
Cancel
Save