Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: request date keyword handling #174

Conversation

PatrickNercessian
Copy link
Collaborator

@PatrickNercessian PatrickNercessian commented Jul 5, 2024

@juliangruber juliangruber merged commit 4389bc9 into filecoin-station:main Jul 5, 2024
9 of 10 checks passed
@juliangruber
Copy link
Member

@bajtos hindsight please.

Ideally and eventually, I think we should get rid of this concept of "yesterday" in general

Copy link
Member

@bajtos bajtos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@@ -339,7 +326,7 @@ describe('Platform Routes HTTP request handler', () => {
it('returns 400 if the date range end is not today', async () => {
const res = await fetch(
new URL(
`/participants/top-earning?from=${oneWeekAgo}&to=${yesterday}`,
`/participants/top-earning?from=${oneWeekAgo}&to=yesterday`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like to=yesterday 👏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants