sendgrid_elixir
sendgrid_elixir copied to clipboard
Handle no changes for recipient
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
I rebased and cleaned up this PR. @alexgaribay can you review and marge it?