Defined devID variable in isDev.js

This commit is contained in:
Christer Warén 2021-06-16 04:50:15 +03:00
parent 9b67506558
commit 1f259d95ac

View File

@ -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;
}