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

Backend > Fix > Alterar o .populate do getprojects no ProjectService para tirar a remoção do id do membro #36

Closed
1 task done
FLuiz22 opened this issue Aug 31, 2023 · 1 comment
Assignees

Comments

@FLuiz22
Copy link
Member

FLuiz22 commented Aug 31, 2023

OVERVIEW

  • O .populate no findByEj está tirando o _id do membro do array team, o que está impedindo de atualizar um projeto quando existe um membro no time;

  • Isso ocorre devido ao front que envia o _id do membro ao Backend e, por conta do .populate remover esse _id, ocorre esse erro ao atualizar.

  • Corrigir a remoção do _id no .populate.

@FLuiz22 FLuiz22 converted this from a draft issue Aug 31, 2023
@FLuiz22 FLuiz22 self-assigned this Aug 31, 2023
@FLuiz22 FLuiz22 moved this from 🔖 Ready to 🏗 In progress in Kanban Projexa (CodeX Jr.) Aug 31, 2023
@FLuiz22
Copy link
Member Author

FLuiz22 commented Aug 31, 2023

#37

@FLuiz22 FLuiz22 moved this from 🏗 In progress to 👀 In review in Kanban Projexa (CodeX Jr.) Aug 31, 2023
@ManoMax ManoMax moved this from 👀 In review to ✅ Done in Kanban Projexa (CodeX Jr.) Sep 11, 2023
@ManoMax ManoMax closed this as completed Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants