Nookipedia/nookipedia-api

Properly handle someone sending in both excludedetails and thumbsize

Closed this issue · 1 comments

Currently, if someone sends in both excludedetails=true and thumbsize=##, the server responds with a 500 error as it will try to generate thumbnails based on non-existence image fields (since excludedetails results in only the required fields being queried).

API should be updated to properly account for this case by returning a 400 error indicating that one or the other should be provided, not both.

Resolved via #25