change bugs
This commit is contained in:
parent
98ec2d0b3c
commit
20ac55a323
|
@ -3,8 +3,10 @@ class SyncForgeController < ApplicationController
|
||||||
|
|
||||||
def create
|
def create
|
||||||
sync_params = params["sync_params"]
|
sync_params = params["sync_params"]
|
||||||
|
Rails.logger.info("========sync_params=1==#{params["sync_params"]}====")
|
||||||
|
Rails.logger.info("========sync_params=2==#{params[:sync_params]}====")
|
||||||
|
|
||||||
sync_params = eval(sync_params)
|
sync_params = eval(sync_params)
|
||||||
Rails.logger.info("========sync_params===#{sync_params}====")
|
|
||||||
|
|
||||||
#以前已同步的项目,那么肯定存在仓库
|
#以前已同步的项目,那么肯定存在仓库
|
||||||
if Project.exists?(id: sync_params[:id], identifier: sync_params[:identifier])
|
if Project.exists?(id: sync_params[:id], identifier: sync_params[:identifier])
|
||||||
|
|
Loading…
Reference in New Issue