Skip to content

Commit

Permalink
No data received on JSON #319
Browse files Browse the repository at this point in the history
  • Loading branch information
Rello committed Nov 18, 2022
1 parent daa77ee commit dd3153a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 4.5.1 - 2022-11-19
### Fixed
- Missing dataset id in example API call #317
- No data received on JSON #319

## 4.5.0 - 2022-11-05
### Added
Expand Down
2 changes: 1 addition & 1 deletion lib/Datasource/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function readData($option): array
curl_setopt($ch, CURLOPT_POSTFIELDS, $option['body']);
}
$rawResult = curl_exec($ch);
$http_code = curl_getinfo($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
} else {
$rawResult = '';
Expand Down

0 comments on commit dd3153a

Please sign in to comment.