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

Fixes #560, don't assume that message.data exists #561

Merged
merged 1 commit into from Jun 14, 2021
Merged

Fixes #560, don't assume that message.data exists #561

merged 1 commit into from Jun 14, 2021

Conversation

rkreutzer
Copy link
Contributor

Added optional chaining to the first if statement so that if message.data doesn't exist, the program doesn't fail.

Added optional chaining to the first if statement so that if message.data doesn't exist, the program doesn't fail.
@codecov
Copy link

codecov bot commented Jun 12, 2021

Codecov Report

Merging #561 (2b68f2b) into next (0bf7b24) will increase coverage by 9.93%.
The diff coverage is 67.00%.

@@            Coverage Diff             @@
##             next     #561      +/-   ##
==========================================
+ Coverage   67.58%   77.51%   +9.93%     
==========================================
  Files          62       71       +9     
  Lines        1530     1890     +360     
  Branches      247      319      +72     
==========================================
+ Hits         1034     1465     +431     
- Misses        400      423      +23     
+ Partials       96        2      -94     

Copy link
Member

@mirceanis mirceanis left a comment

Choose a reason for hiding this comment

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

looks good

Thank you for the contribution!

@mirceanis mirceanis merged commit ab24877 into decentralized-identity:next Jun 14, 2021
@mirceanis mirceanis mentioned this pull request Jul 13, 2021
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.

None yet

2 participants