Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed deleted thread from watched thread ID array #445

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft

Conversation

kenny-dd
Copy link
Contributor

@kenny-dd kenny-dd commented Feb 9, 2023

  1. Retrieved the users that are watching
  2. Mapped over the users watching the thread and found the id
  3. Found the users watched thread array
  4. Filtered the threads to remove all threads with the passed in threadID to be deleted
  5. Updated the user's watchedThreads array with the new filtered one
  6. Delete the thread

@kenny-dd kenny-dd requested a review from chef-danny-d February 9, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant