Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

Commit

Permalink
removed limit filter default 10 for contactlists (max 1000)
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Meilick <b@bnomei.com>
  • Loading branch information
bnomei committed Apr 25, 2018
1 parent ae2eec7 commit 6a6cd7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kirby-mailjet-class.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public static function contactslists() {

$cl = array();
$exclude = c::get('plugin.mailjet.json-contactslists.exclude', []);
$response = $mj->get(Resources::$Contactslist, ['body' => null]);
$response = $mj->get(Resources::$Contactslist, ['body' => null, 'filters' => ['Limit' => '0']]);
if($response->success()) {
foreach ($response->getData() as $r) {
if(in_array($r['ID'], $exclude)) continue;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kirby-mailjet",
"description": "Kirby Mailjet makes sending emails with Mailjet simple.",
"version": "0.7.6",
"version": "0.7.7",
"author": "Bruno Meilick",
"type": "kirby-plugin",
"license": "Commercial"
Expand Down

0 comments on commit 6a6cd7a

Please sign in to comment.