1
0
mirror of https://github.com/bigchaindb/github-projects.git synced 2024-12-29 16:17:49 +01:00

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

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 => {