summary refs log tree commit diff
path: root/api/src/routes/gifs/search.ts
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-07-18 21:56:07 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-09 23:28:27 +0200
commit4ccae56210bfc5e0c0a0b863cac02596674ab5a0 (patch)
treea500a82dbe0b9bcd3069a88d2ddf0ee179d1618c /api/src/routes/gifs/search.ts
parentfix ts errors (diff)
downloadserver-4ccae56210bfc5e0c0a0b863cac02596674ab5a0.tar.xz
Update packages
Diffstat (limited to 'api/src/routes/gifs/search.ts')
-rw-r--r--api/src/routes/gifs/search.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/gifs/search.ts b/api/src/routes/gifs/search.ts
index 9ad7a592..1099dc4a 100644
--- a/api/src/routes/gifs/search.ts
+++ b/api/src/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;
 
 	res.json(results.map(parseGifResult)).status(200);
 });