Requires completely removed from Platform codebase
This commit is contained in:
1 parent
d2811cc422
commit
2ec676defb
4 files changed
+11
-7
No files matched your search
@@ -75,7 +75,7 @@ exports.newGithubServer = function newGithubServer() {
|
||||
|
||||
async function doGithub() {
|
||||
|
||||
const { Octokit } = require("@octokit/rest")
|
||||
const { Octokit } = SA.nodeModules.octokit
|
||||
|
||||
const octokit = new Octokit({
|
||||
auth: token,
|
||||
@@ -204,7 +204,7 @@ exports.newGithubServer = function newGithubServer() {
|
||||
try {
|
||||
const repo = repository
|
||||
const owner = 'Superalgos'
|
||||
const { Octokit } = require("@octokit/rest")
|
||||
const { Octokit } = SA.nodeModules.octokit
|
||||
const octokit = new Octokit({
|
||||
auth: token,
|
||||
userAgent: 'Superalgos Beta 11'
|
||||
|
||||
Reference in new issue
Block a user