From 190d76bec1267a2fe13c13a1989d64f37cda2e10 Mon Sep 17 00:00:00 2001 From: Moe Date: Sun, 2 Oct 2022 20:26:35 -0700 Subject: [PATCH] Fix syntax bug in libs/control/ptz.js --- libs/control/ptz.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/control/ptz.js b/libs/control/ptz.js index b49e7c64..73578026 100644 --- a/libs/control/ptz.js +++ b/libs/control/ptz.js @@ -7,7 +7,7 @@ module.exports = function(s,config,lang){ const sliceUrlAuth = (url) => { return /^(.+?\/\/)(?:.+?:.+?@)?(.+)$/.exec(url).slice(1).join('') } - function getGenericControlParameters(optionsm,urlType){ + function getGenericControlParameters(options,urlType){ const monitorConfig = s.group[options.ke].rawMonitorConfigurations[options.id] const controlUrlMethod = monitorConfig.details.control_url_method || 'GET' const controlBaseUrl = monitorConfig.details.control_base_url || s.buildMonitorUrl(monitorConfig, true)