diff --git a/db.json b/db.json index bb838bf..02968d2 100644 --- a/db.json +++ b/db.json @@ -1,33 +1,24 @@ { - "products": [ - { - "id": "1", - "productName": "Laptop", - "categoryId": 1, - "unitPrice": 5000.99 - } - { - "id": "2", - "productName": "Mouse", - "categoryId": 2, - "unitPrice": 50.99 - } - { - "id": "3", - "productName": "Water", - "categoryId": 3, - "unitPrice": 0.99 - } - ], - "categories": [ - { - "id": "1", - "categoryName": "Computers" - }, - { - "id": "2", - "categoryName": "Beverages" - } - ] -} + "products": [ + { "id": 1, + "productName": "Laptop", + "categoryId": 1, + "unitPrice": 5000.99 + }, + { "id": 2, + "productName": "Mouse", + "categoryId": 1, + "unitPrice": 50.99 }, + { "id": 3, + "productName": "Water", + "categoryId": 2, + "unitPrice": 0.99 } + ], + "categories": [ + { "id": 1, + "categoryName": "Computers" }, + { "id": 2, + "categoryName": "Beverages" } + ] + } \ No newline at end of file