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

422 validation department #469

Merged
merged 4 commits into from
Dec 28, 2023
Merged

Conversation

skyline-r34v
Copy link
Contributor

Description

Added Validation to the department.js in the controller folder

@skyline-r34v skyline-r34v changed the base branch from main to development December 27, 2023 08:45
Copy link
Member

@TejasNair9977 TejasNair9977 left a comment

Choose a reason for hiding this comment

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

lol i asked to remove the precommit only temporarily, please dont add it to the commit

if (!isAccredationValid && !isInfrastructureValid && !isOrganizationValid) {

const error = "";
if (!isBranchValid) error.concat("Invalid branch");
Copy link
Member

Choose a reason for hiding this comment

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

where did this come from

@TejasNair9977 TejasNair9977 merged commit ffb04c4 into development Dec 28, 2023
1 check failed
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