mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Use "Core developers" and "Bitcoin-Qt contributors"
Send User-agent header to github API
This commit is contained in:
parent
f6a5c3b401
commit
a20dca2553
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ module Jekyll
|
|||
|
||||
class CategoryGenerator < Generator
|
||||
def fetch_contributors
|
||||
contributors = JSON.parse(open("https://api.github.com/repos/bitcoin/bitcoin/contributors").read)
|
||||
contributors = JSON.parse(open("https://api.github.com/repos/bitcoin/bitcoin/contributors","User-Agent"=>"Ruby/#{RUBY_VERSION}").read)
|
||||
|
||||
contributors.map do |x|
|
||||
x['name'] = x['login'] unless x.has_key?('name')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue