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 > Ao fazer um update das informações de um membro, não existe checagem se o membro existe #112

Open
nicolaskayamori opened this issue Nov 26, 2024 · 1 comment
Assignees

Comments

@nicolaskayamori
Copy link

A função 'update(id, data)' de MemberService possui checagem para um ID válido, mas não para um usuário inexistente no banco. Isso significa que desde que o ID esteja no formato válido, a função retornará um erro "Cannot read properties of null (reading 'role')". O erro retornado deveria conter a mensagem "INVALID_ID".

@nicolaskayamori nicolaskayamori converted this from a draft issue Nov 26, 2024
@nicolaskayamori nicolaskayamori self-assigned this Nov 26, 2024
@nicolaskayamori nicolaskayamori moved this from 🔖 Ready to 👀 In review in Kanban Projexa (CodeX Jr.) Jan 24, 2025
@nicolaskayamori
Copy link
Author

#127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In review
Development

No branches or pull requests

1 participant