From 37a6bde317246ace8269e14347072804eba6c9ac Mon Sep 17 00:00:00 2001 From: Matt Flatin Date: Fri, 26 Oct 2018 15:01:15 -0500 Subject: [PATCH] Update Core.php Adding an array argument to the GetSavedSearches() method to allow more specific responses (_limit, _page, etc.) --- lib/Core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Core.php b/lib/Core.php index edb2f19..bd0a768 100644 --- a/lib/Core.php +++ b/lib/Core.php @@ -578,8 +578,8 @@ function AddMessage($data) { * Saved Searches services */ - function GetSavedSearches() { - return $this->return_all_results($this->MakeAPICall("GET", "savedsearches", '30m')); + function GetSavedSearches($params = array()) { + return $this->return_all_results($this->MakeAPICall("GET", "savedsearches", '30m', $params)); } function GetSavedSearch($id) {