Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Commit

Permalink
imagens anroll
Browse files Browse the repository at this point in the history
  • Loading branch information
uesleibros committed Sep 1, 2024
1 parent 05d50c5 commit 94774c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/buscar/animes/anroll/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ export async function GET(request) {
if (item.title.split(' ')[0].includes(query.split(' ')[0]))
responses.push(item);
}
data = responses;
}

data = responses;
data.forEach((i) => i.thumbnail = `https://static.anroll.net/images/${i.type === "movie" ? "filmes" : "animes"}/capas/${i.slug}.jpg`);
for (let i = 0; i < data.length; i++) {
data[i].extra_data = await pegarInformacoesDetalhadasAnime(data[i]);
Expand Down

0 comments on commit 94774c5

Please sign in to comment.