Skip to content

Commit

Permalink
fetch data using query params
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Shaheen authored and Luke Shaheen committed Jan 26, 2017
1 parent cf766c4 commit 7174af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NationBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public function findContactMade($searchParams)
while (!empty($contacts['next']) || $first == true) {
$first = false;
//Get the contacts made
$contacts = $this->fetchData('contacts', $searchParams, 'GET');
$contacts = $this->fetchData('contacts', $queryParams, 'GET');
if (!empty($contacts['results'])) {
foreach ($contacts['results'] as $contactResult) {
//By default, this result is the match
Expand Down

0 comments on commit 7174af2

Please sign in to comment.