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

Handle no changes for recipient #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kelostrada
Copy link
Contributor

@kelostrada kelostrada commented Sep 13, 2017

When we create new recipient it is possible that we actually update an existing one. In such case Sendgrid API doesn't send back the recipient_id inside persisted_recipients array. We need to handle this because we can easily get this error: (MatchError) no match of right hand side value: []

Also I added search from Sendgrid API

@lukaszsamson lukaszsamson force-pushed the bugfix/handle_recipient_result-bug branch 2 times, most recently from a33057a to 28179a4 Compare January 30, 2020 14:52
@lukaszsamson lukaszsamson force-pushed the bugfix/handle_recipient_result-bug branch from 28179a4 to 76c4ceb Compare January 30, 2020 14:53
@lukaszsamson
Copy link
Contributor

I rebased and cleaned up this PR. @alexgaribay can you review and marge it?

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