This commit is contained in:
Benjamin Toby
2025-07-09 20:30:45 +01:00
parent ccb5605b58
commit c37d105dee
264 changed files with 2389 additions and 3743 deletions
@@ -186,12 +186,8 @@ export default async function githubAuth({
response.on("end", function () {
try {
resolve(JSON.parse(str));
} catch (error) {
global.ERROR_CALLBACK?.(
`Github Auth Error`,
error as Error
);
} catch (error: any) {
console.log("Github Auth Error:", error.message);
resolve({
success: false,
user: null,