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

Replace dayOffset with WeekDay Enum #17

Open
jmesserli opened this issue May 22, 2017 · 0 comments
Open

Replace dayOffset with WeekDay Enum #17

jmesserli opened this issue May 22, 2017 · 0 comments
Labels

Comments

@jmesserli
Copy link
Owner

Currently, the API has to be accessed using annoying dayOffset values. A value of 1 means, that you want to see the menu of the day after today.
This is no longer the way the website is queried and can be confusing because the meal plans can be available before the next week has begun.

The new way would be /api/restaurant/:id/meal/[monday-friday]

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

No branches or pull requests

1 participant