diff --git a/app/components/ecosystem/module-applications.js b/app/components/ecosystem/module-applications.js
index 33c97e3..8289ad4 100644
--- a/app/components/ecosystem/module-applications.js
+++ b/app/components/ecosystem/module-applications.js
@@ -1,7 +1,15 @@
"use strict";
+
+
+// U T I L
+
import markdown from "../markdown";
+
+
+// E X P O R T
+
export default () => `
×
diff --git a/app/components/ecosystem/module-lbry.js b/app/components/ecosystem/module-lbry.js
index bbe3ef5..fca744a 100644
--- a/app/components/ecosystem/module-lbry.js
+++ b/app/components/ecosystem/module-lbry.js
@@ -1,7 +1,15 @@
"use strict";
+
+
+// U T I L
+
import markdown from "../markdown";
+
+
+// E X P O R T
+
export default () => `
×
@@ -17,7 +25,7 @@ export default () => `
lbryschema
-
+
${markdown("./documents/partials/overview/lbrysdk.md")}
diff --git a/app/components/ecosystem/module-lbrycrd.js b/app/components/ecosystem/module-lbrycrd.js
index 37fc6b6..7c632fd 100644
--- a/app/components/ecosystem/module-lbrycrd.js
+++ b/app/components/ecosystem/module-lbrycrd.js
@@ -1,7 +1,15 @@
"use strict";
+
+
+// U T I L
+
import markdown from "../markdown";
+
+
+// E X P O R T
+
export default () => `
×
diff --git a/app/components/ecosystem/submodule-chainquery.js b/app/components/ecosystem/submodule-chainquery.js
index 642a041..92364bb 100644
--- a/app/components/ecosystem/submodule-chainquery.js
+++ b/app/components/ecosystem/submodule-chainquery.js
@@ -1,7 +1,15 @@
"use strict";
+
+
+// U T I L
+
import markdown from "../markdown";
+
+
+// E X P O R T
+
export default () => `
chainquery
@@ -10,7 +18,7 @@ export default () => `
${markdown("./documents/partials/overview/chainquery.md")}
-
+
- Applications
- Blockchain
diff --git a/app/components/ecosystem/submodule-lighthouse.js b/app/components/ecosystem/submodule-lighthouse.js
index 89a49a6..1a044d2 100644
--- a/app/components/ecosystem/submodule-lighthouse.js
+++ b/app/components/ecosystem/submodule-lighthouse.js
@@ -1,14 +1,22 @@
"use strict";
+
+
+// U T I L
+
import markdown from "../markdown";
+
+
+// E X P O R T
+
export default () => `
lighthouse
- ${markdown("./documents/partials/overview/lighthouse.md")}a
+ ${markdown("./documents/partials/overview/lighthouse.md")}
diff --git a/app/components/ecosystem/submodule-reflector.js b/app/components/ecosystem/submodule-reflector.js
index 7ed2c55..8b64d4d 100644
--- a/app/components/ecosystem/submodule-reflector.js
+++ b/app/components/ecosystem/submodule-reflector.js
@@ -1,7 +1,15 @@
"use strict";
+
+
+// U T I L
+
import markdown from "../markdown";
+
+
+// E X P O R T
+
export default () => `
reflector
diff --git a/app/components/ecosystem/submodule-wallet.js b/app/components/ecosystem/submodule-wallet.js
index 469783c..be717af 100644
--- a/app/components/ecosystem/submodule-wallet.js
+++ b/app/components/ecosystem/submodule-wallet.js
@@ -1,7 +1,15 @@
"use strict";
+
+
+// U T I L
+
import markdown from "../markdown";
+
+
+// E X P O R T
+
export default () => `
wallet server
diff --git a/app/helpers/github.js b/app/helpers/github.js
index 3d5bd88..a973c1b 100644
--- a/app/helpers/github.js
+++ b/app/helpers/github.js
@@ -7,13 +7,14 @@
const async = require("async");
const color = require("colorette");
const local = require("app-root-path").require;
-const octokit = require("@octokit/rest")();
+const Octokit = require("@octokit/rest");
const redis = require("redis");
// U T I L S
const messageSlack = local("/app/helpers/slack");
const relativeDate = local("/app/modules/relative-date");
+let octokit;
String.prototype.escape = function() {
const tagsToReplace = {
@@ -30,14 +31,8 @@ String.prototype.escape = function() {
let client;
if (typeof process.env.GITHUB_OAUTH_TOKEN !== "undefined") {
- // new octokit({
- // auth: `token ${process.env.GITHUB_OAUTH_TOKEN}`
- // });
- // https://github.com/octokit/rest.js/issues/1207
-
- octokit.authenticate({
- type: "oauth",
- token: process.env.GITHUB_OAUTH_TOKEN
+ octokit = new Octokit({
+ auth: `token ${process.env.GITHUB_OAUTH_TOKEN}`
});
} else process.stdout.write(`${color.red("[missing]")} GitHub token`);