INVALID REQUEST is not a valid json key for a variable, end up being "undefined"

This commit is contained in:
psihius committed 2019-07-25 22:08:33 +02:00
1 parent e2775adcc3
commit b956438d8d
1 file changed
+1 -1
+1 -1
View File
@@ -389,7 +389,7 @@ app.post("/api/getSlaveMeta", function (req, res) {
}
} else {
res.status(400);
res.send('{"INVALID REQUEST":1}');
res.send('{"INVALID_REQUEST":1}');
}
});
// mod management