lib/onebox/engine/github_pullrequest_onebox.rb in onebox-1.5.50 vs lib/onebox/engine/github_pullrequest_onebox.rb in onebox-1.5.60

- old
+ new

@@ -21,11 +21,10 @@ def data result = raw.clone result['link'] = link result['created_at'] = Time.parse(result['created_at']).strftime("%I:%M%p - %d %b %y") ulink = URI(link) - result['repository_path'] = "#{ulink.host}/#{ulink.path.split('/')[1]}/#{ulink.path.split('/')[2]}" - result['repository_url'] = "https://#{result['repository_path']}" + result['domain'] = "#{ulink.host}/#{ulink.path.split('/')[1]}/#{ulink.path.split('/')[2]}" result end end end end