@@ -22,7 +22,7 @@ |
||
22 | 22 | // Build a SoqlQuery with functions |
23 | 23 | $soql = new SoqlQuery(); |
24 | 24 | $soql->where("within_circle(incident_location, {$_POST['latitude']}, {$_POST['longitude']}, {$_POST['range']})") |
25 | - ->limit(20); |
|
25 | + ->limit(20); |
|
26 | 26 | |
27 | 27 | // Get the dataset. $results is now an associative array in the same format as the JSON object |
28 | 28 | $results = $ds->getDataset($soql); |
@@ -90,10 +90,10 @@ |
||
90 | 90 | |
91 | 91 | // Build up the headers we'll need to pass |
92 | 92 | $this->headers = array( |
93 | - 'Accept: application/json', |
|
94 | - 'Content-type: application/json', |
|
95 | - 'X-App-Token: ' . $this->token |
|
96 | - ); |
|
93 | + 'Accept: application/json', |
|
94 | + 'Content-type: application/json', |
|
95 | + 'X-App-Token: ' . $this->token |
|
96 | + ); |
|
97 | 97 | |
98 | 98 | $this->configureCurl($email, $password); |
99 | 99 | } |