Skip to content

Allow null answerCorrect when deserializing CognitoEventUserPoolsVerifyAuthChallengeResponse. #826

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

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

mawallace
Copy link
Contributor

@mawallace mawallace commented Feb 21, 2024

Issue #, if available: #825

Description of changes: Allows for deserialization of CognitoEventUserPoolsVerifyAuthChallenge when response.answerCorrect is explicitly null (not just missing). Cognito does send events with this field set to null, and this change will prevent errors when this does occur.

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

CognitoEventUserPoolsVerifyAuthChallengeResponse.
Copy link
Contributor

@calavera calavera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants