Skip to content

Commit

Permalink
Fix typo in data check
Browse files Browse the repository at this point in the history
Wrong variable in the checking code.
  • Loading branch information
jpwhite4 committed Oct 3, 2023
1 parent 8e6ee2f commit ddf9790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/DataWarehouse/Query/Jobs/JobDataset.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function __construct(
$endDate['day'],
$endDate['year']
);
if ($startDateTs === false) {
if ($endDateTs === false) {
throw new Exception('invalid "end_date" query parameter');
}

Expand Down

0 comments on commit ddf9790

Please sign in to comment.