Browse Source

修改数据

tags/v1
sylor_huang@126.com 6 years ago
parent
commit
fd34a320b1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/jobs/sync_forge_job.rb

+ 1
- 1
app/jobs/sync_forge_job.rb View File

@@ -142,7 +142,7 @@ class SyncForgeJob < ApplicationJob
if Project.exists?(identifier: project_identifier)
failed_dic = "public/sync_failed_users.dic"
File.open(failed_dic,"a") do |file|
file.puts "[\nTime---#{Time.now}\nproject_info---#{project}\n---]\n "
file.puts "[\nTime---#{Time.now}\nproject_info---#{project}\nerrors---exists the same project:#{project_identifier}]\n "
end
else
new_project = Project.new(project&.except!(*keys_to_delete).merge(user_id: new_user.id))


Loading…
Cancel
Save