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

Corrige erro ao enviar corpo de requisição vazio e adiciona o status 204 ao checar se resposta foi sucedida #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wuzi
Copy link

@wuzi wuzi commented Aug 9, 2023

descobri que se enviarmos um body vazio no endpoint /v2/gn/split/cob/:txid/vinculo/:splitConfigId a API retorna erro 500, mas se enviarmos nil ela retorna normalmente, então fiz essa alteração para tratar este caso

esse endpoint também retorna 204 em sucesso, que não estava mapeado na condição dos status

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