Getting tasks related to user
Open
review
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Why you are getting the tasks for the user with id = 1 only not related to the logged user?
https://github.com/GSG-G10/W7-ToDo/blob/9732c79189a00e005547aec1357720691b619383/server/controllers/getTasks.js#L4
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with server/controllers/getTasks.js at line 4, then trace how the logged-in user is identified for task requests. Update the lookup so it uses the requesting user rather than a fixed user id, and verify the endpoint returns only that user's tasks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100