Skip to content

Commit c8bc570

Browse files
author
Justinas Liubinskas
committed
params added to lists class
1 parent 5aeab64 commit c8bc570

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/MailerLite/Lists.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ public function __construct($apiKey)
1010
parent::__construct($apiKey);
1111
}
1212

13-
public function getActive()
13+
public function getActive($data = null)
1414
{
1515
$this->path .= 'active/';
16-
return $this->execute('GET');
16+
return $this->execute('GET', $data);
1717
}
1818

19-
public function getUnsubscribed()
19+
public function getUnsubscribed($data = null)
2020
{
2121
$this->path .= 'unsubscribed/';
22-
return $this->execute('GET');
22+
return $this->execute('GET', $data);
2323
}
2424

25-
public function getBounced()
25+
public function getBounced($data = null)
2626
{
2727
$this->path .= 'bounced/';
28-
return $this->execute('GET');
28+
return $this->execute('GET', $data);
2929
}
3030

3131
}

0 commit comments

Comments
 (0)