KhalisFoundation / banidb-api

The most accurate Gurbani database ever. Contributions welcome :)
MIT License
30 stars 15 forks source link

Few exceptions in Angs range doesn't give error #242

Open MySmilingTurban opened 3 years ago

MySmilingTurban commented 3 years ago

The API provides {"error":true,"data":{"error":"That ang does not exist or no updates found."}} only at 0 in G source.

But it isn't providing the expected error for Angs > 1430 For example, 1431

For negative values, it gives out Ang 1 for every Source, -1 for G -1 for D