diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-07-18 21:56:07 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-09 23:28:27 +0200 |
commit | 4ccae56210bfc5e0c0a0b863cac02596674ab5a0 (patch) | |
tree | a500a82dbe0b9bcd3069a88d2ddf0ee179d1618c /api/src/routes/gifs/search.ts | |
parent | fix ts errors (diff) | |
download | server-4ccae56210bfc5e0c0a0b863cac02596674ab5a0.tar.xz |
Update packages
Diffstat (limited to 'api/src/routes/gifs/search.ts')
-rw-r--r-- | api/src/routes/gifs/search.ts | 2 |
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); }); |