Skip to content

Change validatations in job and JC #77

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

Merged
merged 2 commits into from
Jun 11, 2021
Merged

Conversation

sushilshinde
Copy link
Contributor

No description provided.

Comment on lines +91 to +93
jobLocation: Joi.string().allow(null).allow(''),
jobTimezone: Joi.string().allow(null).allow(''),
currency: Joi.string().allow(null).allow(''),
Copy link
Contributor

Choose a reason for hiding this comment

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

@sushilshinde This is fine, but we also have Joi.stringAllowEmpty rule defined here https://github.com/topcoder-platform/taas-es-processor/blob/dev/src/bootstrap.js#L25 which can be reused for consistency.

@sushilshinde sushilshinde merged commit 40b7758 into dev Jun 11, 2021
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.

2 participants