summaryrefslogtreecommitdiff
path: root/www/js/EventsGraphsCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@users.noreply.github.com>2019-05-28 16:12:18 -0400
committerGitHub <noreply@github.com>2019-05-28 16:12:18 -0400
commit572d19af26f07d78b99f8e2a0603a57ca066b326 (patch)
tree0628ef7a8467cd1124245cf28a59ed5bfda3ad17 /www/js/EventsGraphsCtrl.js
parentadb63ae77e1318a1c42dd0fe8ce31cfa7584194b (diff)
parent5bf531cfd5aa6812dd96bb3aa887187f71f3f560 (diff)
Merge pull request #819 from pliablepixels/api-tokens
Api tokens
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}*/ )