mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
Merge branch 'dev_trustie' into dev_chain
This commit is contained in:
@@ -3,8 +3,10 @@ class SyncForgeController < ApplicationController
|
||||
|
||||
def create
|
||||
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)
|
||||
Rails.logger.info("========sync_params===#{sync_params}====")
|
||||
|
||||
#以前已同步的项目,那么肯定存在仓库
|
||||
if Project.exists?(id: sync_params[:id], identifier: sync_params[:identifier])
|
||||
|
||||
Reference in New Issue
Block a user