On line 159 in profile.py the line being cart["order"]["lineitems"] = line_items.data was causing duplication of lineitems as two different objects. prints just one now(line_items removed. lineitems still present)
Request
GET /profile/cart retrieves the user's cart
Changes
profile.py
the line beingcart["order"]["lineitems"] = line_items.data
was causing duplication of lineitems as two different objects. prints just one now(line_items removed. lineitems still present)Request GET
/profile/cart
retrieves the user's cartResponse
HTTP/1.1 201 OK
Testing
Description of how to test code...
Related Issues