[REFACTOR] Move Hardcoded Value to Constant for Max Invitations #5938
Labels
A-users
Area: Users
C-refactor
Category: Refactor
good first issue
Good for newcomers
hacktoberfest
Issues that are up for grabs for Hacktoberfest participants
Feature Description
Here:
hyperswitch/crates/router/src/core/user.rs
Line 501 in b236441
In the current implementation, the value 10 is hardcoded when checking the number of invite requests in the code. To improve maintainability and avoid magic numbers, this value should be moved to a constant in crates/router/src/consts/user.rs.
Possible Implementation
Have you spent some time checking if this feature request has been raised before?
Have you read the Contributing Guidelines?
Are you willing to submit a PR?
No, but I'm happy to collaborate on a PR with someone else
The text was updated successfully, but these errors were encountered: