fixed reposyncer同步仓库接口增加gitlink

This commit is contained in:
“xxq250” 2022-07-26 18:13:29 +08:00
parent f3233b145b
commit d6c6ac9a0a
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,9 @@ class ObRepositorySync::ApiService < ApplicationService
"github_address": "#{params[:github_address]}",
"gitee_address": "#{params[:gitee_address]}",
"github_token": "#{params[:github_token]}",
"gitee_token": "#{params[:gitee_token]}"
"gitee_token": "#{params[:gitee_token]}",
"gitlink_address": "#{params[:gitlink_address]}",
"gitlink_token": "#{params[:gitlink_token]}"
}
url = URI("#{domain}/cerobot/projects")
http = Net::HTTP.new(url.host, url.port)