GSG-G10 / GSG-G10/W7-ToDo

Naming variables

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

This `dbPass` variable is kinda a foggy name and you should call it something like `hashedPassword`

https://github.com/GSG-G10/W7-ToDo/blob/9732c79189a00e005547aec1357720691b619383/server/controllers/get_auth.js#L12-L13

Contributor guide

No contributing guide indexed for this repository

Research direction

Open server/controllers/get_auth.js at lines 12-13 and inspect how dbPass is used. Rename the variable to a descriptive password-related name and update its references, then verify that the authentication controller still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.