janaipakos / ghibliapi

A simple API for Studio Ghibli resources. Unofficial/fan-made
https://ghibliapi.herokuapp.com
MIT License
310 stars 109 forks source link

No more than 20 films are returned even when setting the limit to a number higher than 20 #21

Closed LombaxTech closed 4 years ago

janaipakos commented 4 years ago

Good find. Feel free to open a PR

gauravsofat commented 4 years ago

It appears that the db.json file currently only has 20 film entries. This causes the response object to return only 20 films for any limit >= 20.

janaipakos commented 4 years ago

It appears that the db.json file currently only has 20 film entries. This causes the response object to return only 20 films for any limit >= 20.

Also a good point!