Real-Dev-Squad / website-backend

The backend code for all our website-related apps
https://api.realdevsquad.com/
MIT License
44 stars 200 forks source link

Fix: orphan tasks bug in staging. #2020

Closed MehulKChaudhari closed 2 months ago

MehulKChaudhari commented 2 months ago

Date: 22/04/2-24

Developer Name: @MehulKChaudhari


Issue Ticket Number

2005 bug

Description

The tasks were not filtered because I was using assigneeID to search the tasks but the actually field in DB is assignee: userID. This confusion was caused because /tasks data has a assigneeID assigneeID is not a tasks document field. Assignee is the actual

Documentation Updated?

Under Feature Flag

Database Changes

Breaking Changes

Development Tested?

Test Coverage

image

Additional Notes