Fix eventlog route

This commit is contained in:
Girish Ramakrishnan
2023-08-04 12:46:54 +05:30
parent da73067315
commit a4c3d39cc3
3 changed files with 17 additions and 15 deletions

View File

@@ -1488,7 +1488,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
};
Client.prototype.getEvent = function (eventId, callback) {
get('/api/v1/cloudron/eventlog/' + eventId, {}, function (error, data, status) {
get('/api/v1/eventlog/' + eventId, {}, function (error, data, status) {
if (error) return callback(error);
if (status !== 200) return callback(new ClientError(status, data));
@@ -1506,7 +1506,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
}
};
get('/api/v1/cloudron/eventlog', config, function (error, data, status) {
get('/api/v1/eventlog', config, function (error, data, status) {
if (error) return callback(error);
if (status !== 200) return callback(new ClientError(status, data));