Skip to content

Commit 331badc

Browse files
authored
Merge pull request #65 from Jhut89/3.1.1
fix broken ID check
2 parents c13162a + cb61abb commit 331badc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Resources/Lists.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ public function __construct(MailchimpRequest $request, MailchimpSettings $settin
5050
*/
5151
public function batchSubscribe($members = [], $update_existing = false)
5252
{
53-
54-
$this->throwIfNot("id", $this->subclass_resource);
53+
$this->throwIfNot("id", $this->list_id);
5554
$params = [
5655
'members' => $members,
5756
'update_existing' => $update_existing

0 commit comments

Comments
 (0)