Updates
This commit is contained in:
@@ -17,6 +17,7 @@ export default async function apiGoogleLogin({
|
||||
additionalData,
|
||||
debug,
|
||||
loginOnly,
|
||||
apiUserId,
|
||||
}: APIGoogleLoginFunctionParams): Promise<APILoginFunctionReturn> {
|
||||
try {
|
||||
const gUser: GoogleOauth2User | undefined = await new Promise(
|
||||
@@ -78,6 +79,7 @@ export default async function apiGoogleLogin({
|
||||
additionalFields,
|
||||
debug,
|
||||
loginOnly,
|
||||
apiUserId,
|
||||
});
|
||||
|
||||
////////////////////////////////////////
|
||||
@@ -85,7 +87,7 @@ export default async function apiGoogleLogin({
|
||||
////////////////////////////////////////
|
||||
|
||||
return { ...loggedInGoogleUser };
|
||||
} catch (/** @type {any} */ error: any) {
|
||||
} catch (error: any) {
|
||||
console.log(`api-google-login.ts ERROR: ${error.message}`);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user