alittlebroken / recipefinder-backend

0 stars 0 forks source link

API returns empty array if no ingredients #87

Closed alittlebroken closed 1 year ago

alittlebroken commented 1 year ago

If the DB has no ingredients or you try to access an ingredient that does not exists the API for the ingredients GET routes only returns an empty array.

It should return an object with a message detailing any issues