airqo-platform / airqo-platform/AirQo-api
Add date range validation for notification preferences history queries
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 26
- Forks
- 24
- Merge moyen
- 5 h 36 min
- PR mergées (30 j)
- 81
Description
## Overview
Add validation to ensure that start_date is before end_date when both are provided in notification preferences history queries.
## Background
Currently, the history validation only checks if the dates are valid ISO 8601 dates but doesn't validate their chronological order.
## Links
- Related PR: https://github.com/airqo-platform/AirQo-api/pull/4204
- Discussion: https://github.com/airqo-platform/AirQo-api/pull/4204#discussion_r1921239213
## Requested by
@Baalmart
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.