diff options
Diffstat (limited to 'src/api/routes/gifs/search.ts')
-rw-r--r-- | src/api/routes/gifs/search.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/api/routes/gifs/search.ts b/src/api/routes/gifs/search.ts index 305a2a48..b4628753 100644 --- a/src/api/routes/gifs/search.ts +++ b/src/api/routes/gifs/search.ts @@ -36,9 +36,7 @@ router.get( media_format: { type: "string", description: "Media format", - values: Object.keys(TenorMediaTypes).filter((key) => - isNaN(Number(key)), - ), + values: Object.keys(TenorMediaTypes).filter((key) => isNaN(Number(key))), }, locale: { type: "string", @@ -65,13 +63,13 @@ router.get( agent, method: "get", headers: { "Content-Type": "application/json" }, - }, + } ); const { results } = await response.json(); res.json(results.map(parseGifResult)).status(200); - }, + } ); export default router; |