Screenshot 1
![Screenshot 2024-11-26 at 12 09 32 PM](https://github.com/user-attachments/assets/a87b161c-3108-48cf-96fc-33c8c6ecdc43)
Additional Notes
PRDDesign Doc
Have moved the archieveUsers function to models as it was directly interacts with the database and performing operations such as updating task documents. This was also causing circular dependency issues.
Date: 15/11/2024 Developer Name: Vignesh B S
Issue Ticket Number
Closes Real-Dev-Squad/website-dashboard#888
Description
Implemented changes in users API for Tracking Departed Users.
users?departed=true
- Retrieves users who had a task assigned and have departed the Discord server.Test Cases
Test cases for the above API are included in a separate PR due to dependency stacking:
Documentation Updated?
Under Feature Flag
Database Changes
Breaking Changes
Development Tested?
Screenshots
Screenshot 1
![Screenshot](https://github.com/user-attachments/assets/cce3e164-24e8-40fe-84d7-ab1d3f9b715a)Test Coverage
Screenshot 1
![Screenshot 2024-11-26 at 12 09 32 PM](https://github.com/user-attachments/assets/a87b161c-3108-48cf-96fc-33c8c6ecdc43)Additional Notes
PRD Design Doc Have moved the archieveUsers function to models as it was directly interacts with the database and performing operations such as updating task documents. This was also causing circular dependency issues.