diff options
Diffstat (limited to 'api/src/routes/discovery.ts')
-rw-r--r-- | api/src/routes/discovery.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/src/routes/discovery.ts b/api/src/routes/discovery.ts index 6c004274..b6a25a13 100644 --- a/api/src/routes/discovery.ts +++ b/api/src/routes/discovery.ts @@ -9,8 +9,12 @@ router.get("/categories", route({}), (req: Request, res: Response) => { const { locale, primary_only } = req.query; + let categories; + let out; + + switch (locale) { case "en-US": switch (primary_only) { |