Skip to content

Commit

Permalink
Merge pull request #38 from pineapple-699/pr/32
Browse files Browse the repository at this point in the history
fix: change string upc code to integer
  • Loading branch information
hopetambala authored Apr 15, 2020
2 parents 7b5cda1 + 0ee9741 commit 18ae094
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified db/pineapplestore.db
Binary file not shown.
2 changes: 1 addition & 1 deletion endpoints/cart.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 18ae094

Please sign in to comment.