Skip to content

Commit 8ce40c1

Browse files
committed
Fixed bug with subscribe method call.
1 parent 9227598 commit 8ce40c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/MailChimpSignupController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public function doSubscribe($data, $form)
192192
// Obtain API Response:
193193

194194
$response = $this->api->put(
195-
$this->getSubscribeMethod(),
195+
$this->getSubscribeMethod($data),
196196
[
197197
'email_address' => $data['Email'],
198198
'email_type' => 'html',

0 commit comments

Comments
 (0)