Update Types

This commit is contained in:
Tben
2023-08-13 14:56:56 +01:00
parent 80e34fa6ec
commit 4aa65011e3
31 changed files with 60 additions and 39 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ async function localGithubAuth({ res, code, email, clientId, clientSecret, addit
return { ...loggedInGithubUser, dsqlUserId: "0" };
////////////////////////////////////////
} catch (error) {
} catch (/** @type {*} */ error) {
console.log("localGithubAuth error", error.message);
return { success: false, msg: "Failed!" };
+1 -1
View File
@@ -136,7 +136,7 @@ async function githubLogin({ code, clientId, clientSecret }) {
////////////////////////////////////////////////
////////////////////////////////////////////////
////////////////////////////////////////////////
} catch (error) {
} catch (/** @type {*} */ error) {
////////////////////////////////////////////////
////////////////////////////////////////////////
////////////////////////////////////////////////
+1 -1
View File
@@ -258,7 +258,7 @@ async function handleSocialDb({ social_id, email, social_platform, payload, res,
////////////////////////////////////////////////
////////////////////////////////////////////////
////////////////////////////////////////////////
} catch (error) {
} catch (/** @type {*} */ error) {
console.log("ERROR in 'handleSocialDb.js' backend function =>", error.message);
return {