Use the new app eventlog route

This commit is contained in:
Girish Ramakrishnan
2021-09-21 19:46:18 -07:00
parent aecba53de5
commit f8ed17dd58
2 changed files with 19 additions and 5 deletions
+2 -5
View File
@@ -846,12 +846,9 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
// TODO if needed make those interactive
var page = 1;
var perPage = 100;
var actions = null;
var perPage = 20;
var search = $scope.app.id;
Client.getEventLogs(actions, search, page, perPage, function (error, result) {
Client.getAppEventLog($scope.app.id, page, perPage, function (error, result) {
if (error) return console.error('Failed to get events:', error);
$scope.eventlog.eventLogs = [];