From 6a6cd7accf4a08449bb7b53eeaeaf2420fa17629 Mon Sep 17 00:00:00 2001 From: Bruno Meilick Date: Wed, 25 Apr 2018 17:22:31 +0200 Subject: [PATCH] removed limit filter default 10 for contactlists (max 1000) Signed-off-by: Bruno Meilick --- kirby-mailjet-class.php | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"