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

[JFContraFome] Alterar rotas de benefícios - 3h #260

Open
5 tasks done
jfbaraky opened this issue Jun 3, 2020 · 1 comment · Fixed by #278
Open
5 tasks done

[JFContraFome] Alterar rotas de benefícios - 3h #260

jfbaraky opened this issue Jun 3, 2020 · 1 comment · Fixed by #278
Assignees
Labels
backend Code related to the backend enhancement New feature or request

Comments

@jfbaraky
Copy link
Member

jfbaraky commented Jun 3, 2020

[{ productId: 1, amount: 2}, {productId: 2, amount: 3}]
  • Criar a relação do benefício com cada produto no array;
  • No GET, retornar também a relação e o produto no include;
  • Esses endpoints serão utilizados para o caso tipo product, mas também devem continuar funcionando para o tipo ticket. Acredito que não vai precisar colocar o condicional para selecionar o tipo aqui;
  • Após abrir o PR, comentar na ISSUE quanto tempo levou na issue;
@jfbaraky jfbaraky added backend Code related to the backend enhancement New feature or request labels Jun 3, 2020
@macanhajc macanhajc self-assigned this Jun 4, 2020
@macanhajc
Copy link
Contributor

Took me about 4 hours

@jfbaraky jfbaraky changed the title Alterar rotas de benefícios - 3h [JFContraFome] Alterar rotas de benefícios - 3h Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Code related to the backend enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants