Describe the bug
The get operation below is returning 422 when filtering by date.
/metric/statistics?environment=default&domainid=[DOMAIN_ID]&statistics=all&key=[SWITCHER_KEY]&dateBefore=2022-08-10 00:00:00&dateAfter=2022-08-09 00:00:00
To Reproduce from Switcher Management
Steps to reproduce the behavior:
- Open Metrics
- Select filter
- Select dates
Expected behavior
Return data based on the chosen filter