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

index 9ad7a592..c7468641 100644 --- a/api/src/routes/gifs/search.ts +++ b/src/api/routes/gifs/search.ts
@@ -20,7 +20,7 @@ router.get("/", route({}), async (req: Request, res: Response) => { headers: { "Content-Type": "application/json" } }); - const { results } = await response.json(); + const { results } = await response.json() as any; // TODO: types res.json(results.map(parseGifResult)).status(200); });