From 072b5ef2d43ff40fc6e24516a992bdf966085d00 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 7 Oct 2024 21:17:16 +0000 Subject: [PATCH] fix linting --- src/routes/global.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/global.js b/src/routes/global.js index 74ca9cc..652084e 100644 --- a/src/routes/global.js +++ b/src/routes/global.js @@ -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 {