From 8ce40c1fde31ea8b4ff7104f7fd927b4de0d3e5a Mon Sep 17 00:00:00 2001 From: Colin Tucker Date: Tue, 26 Mar 2019 22:01:07 +1100 Subject: [PATCH] Fixed bug with subscribe method call. --- src/Components/MailChimpSignupController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/MailChimpSignupController.php b/src/Components/MailChimpSignupController.php index 7380fc7..85a54b3 100644 --- a/src/Components/MailChimpSignupController.php +++ b/src/Components/MailChimpSignupController.php @@ -192,7 +192,7 @@ public function doSubscribe($data, $form) // Obtain API Response: $response = $this->api->put( - $this->getSubscribeMethod(), + $this->getSubscribeMethod($data), [ 'email_address' => $data['Email'], 'email_type' => 'html',