Open svperfecta opened 7 years ago
Confirmed, this is a bug. Right now we check that it's < 28 days, but not also >0 days.
Low priority, but great find! This would make using the API a little confusing if someone misunderstood that startsAt should come BEFORE endsAt.
From @schneefux on August 20, 2017 13:19
This request has createdAt-start 2017-06-01 and createdAt-end 2017-03-31:
The date range is more than 28 days, and end < start. It should fail with an error, but instead, it returns data from 2017-06-01 onwards.
Copied from original issue: gamelocker/vainglory#250