This commit is contained in:
Benjamin Toby
2025-02-19 20:01:50 +01:00
parent c08db13f3d
commit e9bb9fb07f
113 changed files with 253 additions and 63 deletions
+2 -1
View File
@@ -123,11 +123,12 @@ function githubAuth(_a) {
str += chunk;
});
response.on("end", function () {
var _a;
try {
resolve(JSON.parse(str));
}
catch (error) {
console.log(error);
(_a = global.ERROR_CALLBACK) === null || _a === void 0 ? void 0 : _a.call(global, `Github Auth Error`, error);
resolve({
success: false,
user: null,