Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Replace some variables with constants #61

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

duffyishere
Copy link

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:

  • 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

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