uppsaladatavetare / foobar-api

The backend of the FooBar kiosk and inventory system.
MIT License
12 stars 6 forks source link

Add id_category into products api response #47

Open Thizizmyname opened 7 years ago

Thizizmyname commented 7 years ago

For now you can with an api call retrieve all categories. But since the product api call does not hold the category id linked to the product, it's hard to actually use the category in any way (i.e. sorting).

If the id_category were included into the product serializer it would be much more useful.