[REFACTOR] Move Hardcoded Email Subjects to Constants Across the User Related Files #5940
Open
2 tasks done
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
S-awaiting-triage
Status: New issues that have not been assessed yet
Feature Description
In the current implementation, email subjects are hardcoded at multiple places across the codebase when constructing email content. To improve maintainability and avoid magic strings, each unique subject should be moved to its own constant. The goal of this issue is to identify all the places where email subjects are hardcoded, create a corresponding constant for each one, and replace the hardcoded values with the newly defined constants.
Possible Implementation
Example:
hyperswitch/crates/router/src/core/user.rs
Line 707 in b236441
crates/router/src/consts/user.rs
.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: