fix linting
This commit is contained in:
parent
42dea83463
commit
072b5ef2d4
@ -20,8 +20,8 @@ router.get("/config/:key", async (req, res) => {
|
|||||||
const allowKeys = ["resources"];
|
const allowKeys = ["resources"];
|
||||||
if (allowKeys.includes(params.key)) {
|
if (allowKeys.includes(params.key)) {
|
||||||
const config = global.config;
|
const config = global.config;
|
||||||
const result = {}
|
const result = {};
|
||||||
result[params.key] = config[params.key]
|
result[params.key] = config[params.key];
|
||||||
res.status(200).send(result);
|
res.status(200).send(result);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user