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

merge this #2

Merged
merged 1 commit into from
Feb 15, 2022
Merged

Conversation

nvhoanganh
Copy link
Owner

@nvhoanganh nvhoanganh merged commit 2d13d40 into master Feb 15, 2022
Comment on lines +123 to +125
if (parseInt(req.body.quantity) > 10) {
throw new Error("Quantity more than 10 is not accepted")
}
Copy link
Owner Author

Choose a reason for hiding this comment

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

this looks funny

if (parseInt(req.body.quantity) > 10) {
throw new Error("Quantity more than 10 is not accepted")
}

var custId = helpers.getCustomerId(req, app.get("env"));
Copy link
Owner Author

Choose a reason for hiding this comment

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

this one also looks funny

@nvhoanganh
Copy link
Owner Author

and this

        function (item, callback) {

api/cart/index.js (Line 136)

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