Skip to content

Commit c52ad8a

Browse files
committed
fix Kit#21: add email_address parameter to get_subscriber_id()
1 parent e92084f commit c52ad8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ConvertKit_API.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ public function get_subscriber_id( $email_address ) {
349349
$options = array(
350350
'api_secret' => $this->api_secret,
351351
'status' => 'all',
352+
'email_address' => $email_address,
352353
);
353354

354355
$this->create_log(sprintf("GET subscriber id from all subscribers: %s, %s, %s", $request, json_encode($options), $email_address));

0 commit comments

Comments
 (0)