diff --git a/kirby-mailjet-class.php b/kirby-mailjet-class.php index 916487a..59b149d 100644 --- a/kirby-mailjet-class.php +++ b/kirby-mailjet-class.php @@ -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; diff --git a/package.json b/package.json index a91127f..2c1af62 100644 --- a/package.json +++ b/package.json @@ -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"