nesh170 / asap-inventory-system

This is a concept inventory system for ECE458. It is built by ASAPsolutions
1 stars 0 forks source link

fixed and wrote test case to catch error #59

Closed nesh170 closed 7 years ago

nesh170 commented 7 years ago

@sunnyownage Found a bug :/ when putting in:-

POST /api/item/

{ "name": "Flamethrower1245", "quantity": 3, "model_number": null, "description": null, "location": null, "tags": null }

null tags cause the system to do a NoneType Error. Fixed now 💃