switch to /orgs/ endpoint

This commit is contained in:
Matthias Kretschmann 2017-06-28 19:53:52 +02:00
parent d8fe56abe2
commit d09f175ccd
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ let data = []
let dataRepos = []
let dataReleases = []
const username = 'bigchaindb'
const orgname = 'bigchaindb'
const reponame = 'bigchaindb' // Used for fetching specific release
const log = text => console.log(text)
@ -32,7 +32,7 @@ const headers = [{
//
const fetchRepos = () => {
const start = Date.now()
const url = 'https://api.github.com/users/' + username + '/repos'
const url = 'https://api.github.com/orgs/' + orgname + '/repos'
fetch(url, headers)
.then(res => {