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

Fix dates params #21

Open
jguepin opened this issue Jun 14, 2016 · 0 comments
Open

Fix dates params #21

jguepin opened this issue Jun 14, 2016 · 0 comments
Labels

Comments

@jguepin
Copy link
Member

jguepin commented Jun 14, 2016

Joi converts Joi.date() fields to Date objects automatically. Lemonway API is waiting for a string representation of the dates, so it ignores those fields.

All date params should be Date objects, the lib should take care of the string formatting and Joi should not cast strings to Date objects.

@jguepin jguepin added the bug label Jun 14, 2016
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