hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

feat(router): add limit to `generic_user_roles_list_for_org_and_extra`

Open vil02 opened this issue 1 year ago • 1 comments

Type of Change

  • [ ] Bugfix
  • [x] New feature
  • [x] Enhancement
  • [ ] Refactoring
  • [ ] Dependency updates
  • [ ] Documentation
  • [ ] CI/CD

Description

This PR adds the limit parameter to the generic_user_roles_list_for_org_and_extra function.

Additional Changes

  • [ ] This PR modifies the API contract
  • [ ] This PR modifies the database schema
  • [ ] This PR modifies application configuration/environment variables

Motivation and Context

Fixes #5917

How did you test it?

Checklist

  • [ ] I formatted the code cargo +nightly fmt --all
  • [x] I addressed lints thrown by cargo clippy
  • [ ] I reviewed the submitted code
  • [ ] I added unit tests for my changes where possible

vil02 avatar Oct 01 '24 16:10 vil02

Review changes with SemanticDiff.

Analyzed 3 of 3 files.

Filename Status
:heavy_check_mark: crates/router/src/db/user_role.rs Analyzed
:heavy_check_mark: crates/router/src/core/user_role.rs Analyzed
:heavy_check_mark: crates/diesel_models/src/query/user_role.rs Analyzed

semanticdiff-com[bot] avatar Oct 01 '24 16:10 semanticdiff-com[bot]