pionl / smart-emailing-v3

Wrapper for SmartEmailing API v3 version in PHP
MIT License
13 stars 14 forks source link

Cannot use object of type SmartEmailing\v3\Request\Import\Holder\ContactLists as array #1

Closed MartkCz closed 7 years ago

MartkCz commented 7 years ago

https://github.com/pionl/smart-emailing-v3/blob/master/src/Request/Import/Contact.php#L385

version: v0.1.4

pionl commented 7 years ago

Hi @MartkCz, will fix in new version.

pionl commented 7 years ago

After more review, this API will be deprecated in near future. Please use the same concept as for custom fields:

$contact->contactList()->add($list)
// or
$contact->contactList()->create('id', 'status')
MartkCz commented 7 years ago

Thanks!