mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
Merge branch 'pre_trustie_server' into trustie_server
This commit is contained in:
@@ -14,7 +14,7 @@ class IssueWebhookJob < ApplicationJob
|
||||
"action": "opened",
|
||||
"number": 1,
|
||||
"issue": {
|
||||
"id": 888,
|
||||
"id": issue.id,
|
||||
"url": "#{domain}/api/v1/#{project.owner.login}/#{project.identifier}/issues/#{issue.id}",
|
||||
"html_url": "#{domain}/#{project.owner.login}/#{project.identifier}/issues/#{issue.id}",
|
||||
"number": 1,
|
||||
@@ -160,7 +160,7 @@ class IssueWebhookJob < ApplicationJob
|
||||
"username": "#{user.login}"
|
||||
}
|
||||
}
|
||||
|
||||
# puts "event_json:#{event_json.to_json}"
|
||||
begin
|
||||
url = URI("http://117.50.185.50:80")
|
||||
http = Net::HTTP.new(url.host, url.port)
|
||||
|
||||
Reference in New Issue
Block a user