Updates
This commit is contained in:
@@ -93,7 +93,7 @@ export default async function githubLogin({
|
||||
}
|
||||
} catch (/** @type {any} */ error: any) {
|
||||
console.log(
|
||||
"ERROR in githubLogin.js backend function =>",
|
||||
"ERROR in githubLogin.ts backend function =>",
|
||||
error.message
|
||||
);
|
||||
}
|
||||
|
||||
@@ -221,19 +221,19 @@ export default async function handleSocialDb({
|
||||
});
|
||||
} else {
|
||||
console.log(
|
||||
"Social User Failed to insert in 'handleSocialDb.js' backend function =>",
|
||||
"Social User Failed to insert in 'handleSocialDb.ts' backend function =>",
|
||||
newUser
|
||||
);
|
||||
|
||||
return {
|
||||
success: false,
|
||||
payload: null,
|
||||
msg: "Social User Failed to insert in 'handleSocialDb.js' backend function",
|
||||
msg: "Social User Failed to insert in 'handleSocialDb.ts' backend function",
|
||||
};
|
||||
}
|
||||
} catch (error: any) {
|
||||
console.log(
|
||||
"ERROR in 'handleSocialDb.js' backend function =>",
|
||||
"ERROR in 'handleSocialDb.ts' backend function =>",
|
||||
error.message
|
||||
);
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ export default async function apiGoogleLogin({
|
||||
|
||||
return { ...loggedInGoogleUser };
|
||||
} catch (/** @type {any} */ error: any) {
|
||||
console.log(`apo-google-login.js ERROR: ${error.message}`);
|
||||
console.log(`api-google-login.ts ERROR: ${error.message}`);
|
||||
|
||||
return {
|
||||
success: false,
|
||||
|
||||
Reference in New Issue
Block a user