WHOOPS AGAIN
This commit is contained in:
parent
1f27c7a3df
commit
71911487a8
2
index.js
2
index.js
|
@ -288,7 +288,7 @@ app.get("/api/levels/:id", async (req, res) => {
|
||||||
}
|
}
|
||||||
if (!row) return res.sendStatus(404) // Not found
|
if (!row) return res.sendStatus(404) // Not found
|
||||||
if (row) {
|
if (row) {
|
||||||
let output = rows;
|
let output = row;
|
||||||
if (!output.tag) output.tag = "Unknown#0000";
|
if (!output.tag) output.tag = "Unknown#0000";
|
||||||
return res.json(output);
|
return res.json(output);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue