summaryrefslogtreecommitdiff
path: root/www/js/EventsGraphsCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-05-14 13:33:00 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-05-14 13:33:00 -0400
commit576d9058a4afb2a179f8c6a338f9b6c08108822b (patch)
treeeeeb2e12e73882f63a74e188164540c6a78bd67e /www/js/EventsGraphsCtrl.js
parentadb63ae77e1318a1c42dd0fe8ce31cfa7584194b (diff)
initial support for tokens #817
Diffstat (limited to 'www/js/EventsGraphsCtrl.js')
-rw-r--r--www/js/EventsGraphsCtrl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/EventsGraphsCtrl.js b/www/js/EventsGraphsCtrl.js
index f870f029..dd8fe279 100644
--- a/www/js/EventsGraphsCtrl.js
+++ b/www/js/EventsGraphsCtrl.js
@@ -186,7 +186,7 @@ angular.module('zmApp.controllers').controller('zmApp.EventsGraphsCtrl', ['$ioni
}
var url = loginData.apiurl +
"/events/index/MonitorId:" + monitors[j].Monitor.Id + dateString +
- ".json?page=1";
+ ".json?page=1"+$rootScope.authSession;
// console.log("Monitor event URL:" + url);
NVR.log("EventGraph: composed url is " + url);
$http.get(url /*,{timeout:15000}*/ )