Closed manuelmeurer closed 3 years ago
When I call Mailjet::Contact_getcontactslists.find with a contact ID that has is not a member of any lists, I get the following error:
Mailjet::Contact_getcontactslists.find
NoMethodError: undefined method `merge' for nil:NilClass /Users/manuel/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/mailjet-1.5.4/lib/mailjet/resource.rb:122:in `instanciate_from_api' /Users/manuel/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/mailjet-1.5.4/lib/mailjet/resource.rb:82:in `find'
Seems like this has been fixed.
When I call
Mailjet::Contact_getcontactslists.find
with a contact ID that has is not a member of any lists, I get the following error: