Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(backend): validate limit to not be zero #1500

Merged
merged 1 commit into from
Nov 7, 2024
Merged

fix(backend): validate limit to not be zero #1500

merged 1 commit into from
Nov 7, 2024

Conversation

detj
Copy link
Contributor

@detj detj commented Nov 7, 2024

Summary

Add validation to handle if limit is requested as zero.

See also

- validate limit to ensure it is never zero

fixes #1498

Signed-off-by: detj <[email protected]>
@detj detj added bug something isn't working backend backend related labels Nov 7, 2024
@detj detj self-assigned this Nov 7, 2024
Copy link

vercel bot commented Nov 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
measure-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 7, 2024 6:17am

@detj detj requested a review from anupcowkur November 7, 2024 06:18
@detj detj merged commit 88c10f7 into main Nov 7, 2024
8 checks passed
@detj detj deleted the fix-zero-limit branch November 7, 2024 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend backend related bug something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Fix a pagination bug when limit is zero
2 participants