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

Fixed return logic to return default #244

Merged
merged 3 commits into from
Oct 20, 2022

Conversation

KidesLeo
Copy link
Contributor

Fixed return logic to return the default value when quantity parameter is not number.

Addressing issue #239.

value when qty param is not number
Copy link
Owner

@ageddesi ageddesi left a comment

Choose a reason for hiding this comment

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

Can you please also update the unit tests to make sure they have all the edge cases we have mentioned in the ticket please.

@KidesLeo
Copy link
Contributor Author

Update: I updated the tests for colors to check for default values being 1 and maxing out at 100. Also added a default colour override for the color endpoint with color spaces.

@ageddesi ageddesi merged commit 80d097f into ageddesi:dev Oct 20, 2022
@ageddesi
Copy link
Owner

Hi @KidesLeo Thank you for the hard work on this 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants