diff --git a/conf.json b/conf.json index 01daeaf..5b3c852 100644 --- a/conf.json +++ b/conf.json @@ -1,7 +1,8 @@ { "port": 7000, - "sessionSecret": "superDuperSecret", + "sessionSecret": "superDuperSecret for session stuff", + "user": "github-user-used-with-api-account", "clientID": "github client id", "clientSecret": "clientSecret" } \ No newline at end of file diff --git a/public/js/createOrgTable.js b/public/js/createOrgTable.js index ac8f642..8dcabe4 100644 --- a/public/js/createOrgTable.js +++ b/public/js/createOrgTable.js @@ -5,7 +5,7 @@ function generateHtmlRow(repoData) { ${repoData.language === 'null' ? '
' : ``} - ${repoData.name} + ${repoData.name} ${repoData.forks} diff --git a/public/js/profileGen.js b/public/js/profileGen.js index fcdfb18..e8119a4 100644 --- a/public/js/profileGen.js +++ b/public/js/profileGen.js @@ -66,7 +66,8 @@ function parseOrgs(name) { prom.push( new Promise( (res, rej) => { url = orgs[i].url; queryUrl(url, (orgData) => { - orgs_final.push(""); + console.log(orgData); + orgs_final.push(""); res(); }, (error) => { console.log(error);