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

Discount codes patch: 500 internal server error #6343

Closed
abhinavk96 opened this issue Aug 10, 2019 · 0 comments · Fixed by #6344
Closed

Discount codes patch: 500 internal server error #6343

abhinavk96 opened this issue Aug 10, 2019 · 0 comments · Fixed by #6344

Comments

@abhinavk96
Copy link
Contributor

 File "/data/app/app/api/schema/discount_codes.py", line 153, in validate_quantity
2019-08-10T16:48:03.322594701Z     if data['tickets_number'] < data['max_quantity']:
2019-08-10T16:48:03.322599976Z TypeError: '<' not supported between instances of 'int' and 'NoneType'
@abhinavk96 abhinavk96 added this to the Milestone 11: Summer 2019 milestone Aug 10, 2019
@abhinavk96 abhinavk96 self-assigned this Aug 10, 2019
@abhinavk96 abhinavk96 changed the title Discount codes patch: 500 z Discount codes patch: 500 internal server error Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant