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

incorrect product images #28

Open
JuanPablo2655 opened this issue Mar 20, 2024 · 0 comments
Open

incorrect product images #28

JuanPablo2655 opened this issue Mar 20, 2024 · 0 comments

Comments

@JuanPablo2655
Copy link

Describe the bug
Some of the images are stringified JSON, and some aren't even complete stringified JSON which is weird

To Reproduce
Steps to reproduce the behavior:

  1. Visit or fetch https://api.escuelajs.co/api/v1/products
  2. Scroll down to product id 52
  3. See error

Expected behavior
I expect these images to be in a proper array.

Screenshots
image
image

Additional context
This could be resolved by regex replacing the incorrect characters with empty strings

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

No branches or pull requests

1 participant