diff options
author | Featyre <twooter.0g179@simplelogin.co> | 2022-01-24 22:59:14 +0800 |
---|---|---|
committer | Featyre <twooter.0g179@simplelogin.co> | 2022-01-24 22:59:14 +0800 |
commit | cc492f07dcc2be60ef6396c690028da4bcea546b (patch) | |
tree | eb4ec0989289cb4e3cbaa2ded5f1c4db8ff42561 /api/src/routes/discovery.ts | |
parent | Prep for Category db work (diff) | |
download | server-cc492f07dcc2be60ef6396c690028da4bcea546b.tar.xz |
Partnet + Discover fix and join
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) { |