RealDevSquad / RealDevSquad/website-backend

Fix assignee in assignTask middleware

Open
#1,183 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

DESCRIPTION
Currently, assignTask middleware is used to assign the task but middleware should use to verify something,
So in middleware, we should not assign anything from the middleware as ideally modal is used to set assignee
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the assignTask middleware and the model referenced in the issue, then trace where the assignee is set. Done means the middleware only verifies the task and the model remains responsible for assigning it; run the relevant existing tests to check the request flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.