From 1f259d95aceca38779efed1c1ce1934289e5135e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Wed, 16 Jun 2021 04:50:15 +0300 Subject: [PATCH] Defined devID variable in isDev.js --- src/client/funcs/isDev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/funcs/isDev.js b/src/client/funcs/isDev.js index 0d5497d..39e98f8 100644 --- a/src/client/funcs/isDev.js +++ b/src/client/funcs/isDev.js @@ -1,7 +1,7 @@ module.exports = function (devList, authorID){ let response = false; Object.keys(devList).forEach(function(oneDev) { - devID = devList[oneDev]; + let devID = devList[oneDev]; if(authorID == devID){ response = true; }