Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): fix google one tap validation error #6455

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@
await socialVerificationRecord.verify(ctx, tenantContext, connectorData);
await ctx.experienceInteraction.save();

// The input verificationId may be undefined if it's a Google one tap callback

Check warning on line 147 in packages/core/src/routes/experience/verification-routes/social-verification.ts

View check run for this annotation

Codecov / codecov/patch

packages/core/src/routes/experience/verification-routes/social-verification.ts#L147

Added line #L147 was not covered by tests
ctx.body = {
verificationId,
verificationId: socialVerificationRecord.id,

Check warning on line 149 in packages/core/src/routes/experience/verification-routes/social-verification.ts

View check run for this annotation

Codecov / codecov/patch

packages/core/src/routes/experience/verification-routes/social-verification.ts#L149

Added line #L149 was not covered by tests
};

return next();
Expand Down
Loading