airqo-platform / airqo-platform/AirQo-api
Add date range validation for notification preferences history queries
未关闭
- 主要语言
- JavaScript
- 星标
- 26
- 派生
- 24
- 平均合并
- 5 小时 36 分钟
- 30 天内合并 PR
- 81
描述
## 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
贡献指南
评估
这个 Issue 还没有评估数据。