Fix backup route
This commit is contained in:
@@ -584,7 +584,7 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
|
||||
};
|
||||
|
||||
Client.prototype.getBackups = function (callback) {
|
||||
get('/api/v1/cloudron/backups').success(function (data, status) {
|
||||
get('/api/v1/backups').success(function (data, status) {
|
||||
if (status !== 200 || typeof data !== 'object') return callback(new ClientError(status, data));
|
||||
callback(null, data.backups);
|
||||
}).error(defaultErrorHandler(callback));
|
||||
|
||||
Reference in New Issue
Block a user