From cb61abb388c7edb54281325dc4350b340ad201a4 Mon Sep 17 00:00:00 2001 From: John Hutcheson Date: Thu, 9 May 2019 21:31:34 -0400 Subject: [PATCH] fix broken ID check --- src/Resources/Lists.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Resources/Lists.php b/src/Resources/Lists.php index 4f17cab4..313b2e7a 100644 --- a/src/Resources/Lists.php +++ b/src/Resources/Lists.php @@ -50,8 +50,7 @@ public function __construct(MailchimpRequest $request, MailchimpSettings $settin */ public function batchSubscribe($members = [], $update_existing = false) { - - $this->throwIfNot("id", $this->subclass_resource); + $this->throwIfNot("id", $this->list_id); $params = [ 'members' => $members, 'update_existing' => $update_existing