Skip to content

Conversation

RandomProgramm3r
Copy link
Owner

  • Added PromoListQuerySerializer to validate query parameters.
  • CompanyPromoListView: moved query parameter checking to PromoListQuerySerializer.
  • CustomLimitOffsetPagination: removed unreachable max_limit check, dropped try/except in get_limit since serializer now guarantees numeric input.

- Added PromoListQuerySerializer to validate query parameters.
- CompanyPromoListView: moved query parameter checking to PromoListQuerySerializer.
- CustomLimitOffsetPagination: removed unreachable max_limit check, dropped try/except in get_limit since serializer now guarantees numeric input.
@RandomProgramm3r RandomProgramm3r merged commit 346ebf8 into main Apr 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant