stockpile-co / api

The API for Stockpile, an app that manages stuff for organizations.
0 stars 1 forks source link

Fix item status endpoint #216

Closed AdamVig closed 7 years ago

AdamVig commented 7 years ago

GET /item/:itemID/status is behaving strangely. It returns the status for the wrong item.

The docs are out of date, too.

AdamVig commented 7 years ago

The problem here is that the route expects the parameter to be barcode but the endpoint expects the parameter to be itemID.