Load eventlog details per notification
This commit is contained in:
@@ -732,6 +732,15 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.getEvent = function (eventId, callback) {
|
||||
get('/api/v1/cloudron/eventlog/' + eventId, {}, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
|
||||
callback(null, data.event);
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.getEventLogs = function (actions, search, page, perPage, callback) {
|
||||
var config = {
|
||||
params: {
|
||||
|
||||
Reference in New Issue
Block a user