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

Delete Images - Catalogo #1675

Open
lucazin opened this issue Jan 9, 2024 · 1 comment
Open

Delete Images - Catalogo #1675

lucazin opened this issue Jan 9, 2024 · 1 comment
Labels
bug Something isn't working needs triage

Comments

@lucazin
Copy link

lucazin commented Jan 9, 2024

Na hora de adicionar as imagens no catálogo pela api (Server) funciona tudo certo passando o base64 e o id do produto.

Mas na hora de remover, ele pede o id do produto e o index da imagem.
Se passar o index 0.. Ele fica carregando eternamente e não processa a solicitação.

"additionalImageHashes": [
"7038914539524221"
],

Neste caso com o index 1 não remove e passando index 0 trava.

Payload
{
"id": "6918246744928704",
  "index": 1
}

Poderiam me ajudar ?

@lucazin lucazin added bug Something isn't working needs triage labels Jan 9, 2024
@lucazin
Copy link
Author

lucazin commented Jan 9, 2024

Passei o index -1 e removeu a imagem restante.. mas creio que deveriamos passar o index 0 por só existir um indice no array confere ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant