Browse Source

Merge branch 'dev_trustie' into dev_chain

tags/v1.0.0
sylor_huang@126.com 6 years ago
parent
commit
ed80de25f3
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      app/jobs/sync_projects_job.rb

+ 0
- 2
app/jobs/sync_projects_job.rb View File

@@ -20,8 +20,6 @@ class SyncProjectsJob < ApplicationJob
SyncLog.sync_log("==========response_body:#{response.body}============")
if response.code.to_s == "200"
target_jsons = response.body
SyncLog.sync_log("=========target_jsons: #{target_jsons}============")
target_jsons = eval(target_jsons)

if sync_params[:type] == "Project"
update_new_project(target_jsons[:target_params], sync_params[:new_project_id])


Loading…
Cancel
Save