Skip to content

Commit

Permalink
Merge pull request #436 from crocs-muni/fix/nvd-api
Browse files Browse the repository at this point in the history
Fix NVD api download.
  • Loading branch information
J08nY authored Sep 19, 2024
2 parents 1bf7ddd + c6000c3 commit fe3ce12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sec_certs/utils/nvd_dataset_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ def base_params(self) -> dict[str, Any]:
dct = {"resultsPerPage": self._RESULTS_PER_PAGE}

if self._start_mod_date and self._end_mod_date:
dct["startModDate"] = self._start_mod_date.isoformat()
dct["endModDate"] = self._end_mod_date.isoformat()
dct["lastModStartDate"] = self._start_mod_date.isoformat()
dct["lastModEndDate"] = self._end_mod_date.isoformat()

return dct

Expand Down

0 comments on commit fe3ce12

Please sign in to comment.