diff --git a/db/pineapplestore.db b/db/pineapplestore.db index 5890cf3..1479192 100644 Binary files a/db/pineapplestore.db and b/db/pineapplestore.db differ diff --git a/endpoints/cart.py b/endpoints/cart.py index cc8b7b9..f553724 100644 --- a/endpoints/cart.py +++ b/endpoints/cart.py @@ -17,7 +17,7 @@ def post(self, userid): parser = reqparse.RequestParser() parser.add_argument('product_upc', - type=str, + type=int, required=True, help='This field is mandatory!') parser.add_argument('quantity',