We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4bc4ea + 4c3efea commit 7c1e59fCopy full SHA for 7c1e59f
backend/index.ts
@@ -51,7 +51,7 @@ app.get("/languages", (_req, res) => {
51
// Get all categories for a given language
52
app.get("/categories/:language", (req, res) => {
53
const { language } = req.params;
54
- const file = path.join(dataDir, `consolidated/${slugify(language)}.json`);
+ const file = path.join(dataDir, `consolidated/${language}.json`);
55
const json = readJSON(file);
56
57
if (!json) {
0 commit comments