Skip to content

Resolves issue 1401, Validates the request body for registryOrg POST request #1432

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

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

emathew5
Copy link
Collaborator

@emathew5 emathew5 commented Jun 30, 2025

Closes Issue 1401
Also closes 1403

Summary

Issue 1401 occurs because there is currently not type validation for the request body inputs.

Important Changes

cve-services/src/controller/registry-org.controller/index.js

  • Add validation checks for the request body input values

cve-services/src/controller/registry-org.controller/registry-org.controller.js

  • fixed bug: aliases value was not being updated properly

Notes

I will be creating additional tickets to

  • implement validation for the other endpoints and uncomment parseError
  • create registryOrg tests for these endpoints
  • Implement the users request body field as well

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.

1 participant