chicken-sloths / bangazon-api-sprint1

API for a mock Amazon + Etsy platform providing developers access to the company's employee & product data
0 stars 0 forks source link

Add unique id to Product Orders #38

Closed TimAConner closed 6 years ago

TimAConner commented 6 years ago

Context

  1. Currently there are duplicate ids in the product orders json file. They need to have a unique value.

Associated Product Ticket

This was built in issue #19

Process

  1. Add a count variable outside of the for loop and use that as the unique id instead of using the nested for loops increment value which ends up creating duplicate.

Expected Result

Every row in the product orders json will have a unique id.