boug
This commit is contained in:
parent
4dbdad15a2
commit
a56d20c21b
|
|
@ -12,7 +12,7 @@ router.get("/", global.auth, async (req, res) => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
router.get("/:serverId", global.auth, async (req, res) => {
|
router.get("/server/:serverId", global.auth, async (req, res) => {
|
||||||
const serverId = req.params.serverId;
|
const serverId = req.params.serverId;
|
||||||
db.get("SELECT * FROM analytics WHERE id = ?", [serverId], (err, row) => {
|
db.get("SELECT * FROM analytics WHERE id = ?", [serverId], (err, row) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue