I have refactored some variables into constants in our codebase to improve code readability and maintainability. This includes changes in various sections of the code, where these variables were being used.
List of changes:
Replaced "/api/v1/auth" with a constant named SIGN_IN_URL
Replaced "Authorization" with a constant named AUTH_HEADER_NAME
Replaced "Bearer " with a constant named AUTH_HEADER_PREFIX
Description:
I have refactored some variables into constants in our codebase to improve code readability and maintainability. This includes changes in various sections of the code, where these variables were being used.
List of changes:
"/api/v1/auth"
with a constant namedSIGN_IN_URL
"Authorization"
with a constant namedAUTH_HEADER_NAME
"Bearer "
with a constant namedAUTH_HEADER_PREFIX