undefined method `merge' for nil:NilClass
manuelmeurer opened this issue · 1 comments
manuelmeurer commented
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:
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'
manuelmeurer commented
Seems like this has been fixed.