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: correctly set projectType option #692

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

setchy
Copy link
Member

@setchy setchy commented Nov 3, 2023

Previously parsing a type argument/param was not being correctly passed through

Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy setchy requested a review from prabhu November 3, 2023 14:45
@setchy setchy marked this pull request as ready for review November 3, 2023 14:45
@setchy setchy added the bug Something isn't working label Nov 3, 2023
@@ -92,7 +92,7 @@ const parseQueryString = (q, body, options = {}) => {
}
}

options.projectType == options.type;
options.projectType = options.type;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice one! Eslint has also missed this

Copy link
Collaborator

@prabhu prabhu left a comment

Choose a reason for hiding this comment

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

Thank you!

@setchy setchy self-assigned this Nov 3, 2023
@setchy setchy merged commit 2825e0b into CycloneDX:master Nov 3, 2023
16 checks passed
@setchy setchy deleted the feature/fix-server-type branch November 3, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants