Skip to content

Commit c9ebbad

Browse files
Fix variable redeclaration
1 parent 0a62e0b commit c9ebbad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

API/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ module.exports = {
290290
actionName = req.body.monitor.toUpperCase();
291291
}
292292
} else {
293-
var actionName = req.params.action ? req.params.action.toUpperCase() : "STATUS";
293+
actionName = req.params.action ? req.params.action.toUpperCase() : "STATUS";
294294
}
295295
this.executeQuery(this.checkDelay({ action: `MONITOR${actionName}` }, req), res);
296296
});

0 commit comments

Comments
 (0)