summary refs log tree commit diff
path: root/src/api/routes/gifs/trending.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/api/routes/gifs/trending.ts (renamed from api/src/routes/gifs/trending.ts)4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/routes/gifs/trending.ts b/src/api/routes/gifs/trending.ts

index c81b4c08..aa976c3f 100644 --- a/api/src/routes/gifs/trending.ts +++ b/src/api/routes/gifs/trending.ts
@@ -50,8 +50,8 @@ router.get("/", route({}), async (req: Request, res: Response) => { }) ]); - const { tags } = await responseSource.json(); - const { results } = await trendGifSource.json(); + const { tags } = await responseSource.json() as any; // TODO: types + const { results } = await trendGifSource.json() as any; //TODO: types; res.json({ categories: tags.map((x: any) => ({ name: x.searchterm, src: x.image })),