lib/onebox/engine/github_issue_onebox.rb in onebox-1.5.50 vs lib/onebox/engine/github_issue_onebox.rb in onebox-1.5.60
- old
+ new
@@ -39,11 +39,10 @@
user: @raw['user'],
created_at: @raw['created_at'].split("T")[0], #get only date for now
closed_at: (@raw['closed_at'].nil? ? "" : @raw['closed_at'].split("T")[0]),
closed_by: @raw['closed_by'],
avatar: "https://avatars1.githubusercontent.com/u/#{@raw['user']['id']}?v=2&s=96",
- repository_path: "#{ulink.host}/#{ulink.path.split('/')[1]}/#{ulink.path.split('/')[2]}",
- repository_url: "https://#{ulink.host}/#{ulink.path.split('/')[1]}/#{ulink.path.split('/')[2]}",
+ domain: "#{ulink.host}/#{ulink.path.split('/')[1]}/#{ulink.path.split('/')[2]}",
}
end
end
end
end