diff --git a/src/js/client.js b/src/js/client.js index 2f77f0a51..ee906df74 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -739,6 +739,15 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N }); }; + Client.prototype.ackNotification = function (notificationId, callback) { + post('/api/v1/notifications/' + notificationId, {}, null, function (error, data, status) { + if (error) return callback(error); + if (status !== 204) return callback(new ClientError(status)); + + callback(null); + }); + }; + Client.prototype.getEventLogs = function (actions, search, page, perPage, callback) { var config = { params: {