Tela de posters mostra alguns filmes repetidos #75
Labels
bug
Something isn't working
good first issue
Good for newcomers
website
Ajustes e melhorias no portal
Especialmente as URLs
Os filmes "lá nas matas tem", "way of giants" e "luz nos trópicos" estão repetindo várias vezes.
Eu acho que pode ser algum problema no query sendo feito no banco no endpoint que usamos pra buscar as imagens no banco.
O código do endpoint está aqui: flask_backend/routes/movie.py (função
poster_images()
), e a busca no banco acontece aqui: flask_backend/repository/movies.py (funçãoget_paginated
).Detalhe: pra acessar as URLs listadas ali em cima, é preciso passar o cabeçalho
X-LAZY-LOAD
. Exemplo:The text was updated successfully, but these errors were encountered: