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: SendImpressionEvent will return false when event is not sent #257

Merged
merged 2 commits into from
Jan 28, 2021

Conversation

mnoman09
Copy link
Contributor

Summary

  • SendImpressionEvent will return false when event is not sent and return true when sent successfully
  • In case of userEvent is null it will return false

Copy link
Contributor

@jaeopt jaeopt 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. Can we add unit tests to catch the error?

Copy link
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

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

LGTM - more unit tests will be in a separate PR

@jaeopt jaeopt merged commit 53474fb into master Jan 28, 2021
@jaeopt jaeopt deleted the mnoman/decideDispatchedEventFix branch January 28, 2021 23:53
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.

3 participants