GSG-G10 / GSG-G10/W7-ToDo

Insert tasks

Open
#59 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

You already send the user_id = 1 in the controller since you are still developing the process, but why you send it here also?

https://github.com/GSG-G10/W7-ToDo/blob/9732c79189a00e005547aec1357720691b619383/server/database/queries/add_tasks_query.js#L4

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the controller with server/database/queries/add_tasks_query.js at the linked line, focusing on where user_id is supplied. Determine whether the duplicated value is necessary, then verify that task insertion still receives the intended user association after the cleanup.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.