|
|
|
@@ -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) |
|
|
|
|