fix linting

This commit is contained in:
Arthur Lu 2024-10-07 21:17:16 +00:00
parent 42dea83463
commit 072b5ef2d4

View File

@ -20,8 +20,8 @@ router.get("/config/:key", async (req, res) => {
const allowKeys = ["resources"];
if (allowKeys.includes(params.key)) {
const config = global.config;
const result = {}
result[params.key] = config[params.key]
const result = {};
result[params.key] = config[params.key];
res.status(200).send(result);
}
else {