Add button to download tgz backups
This commit is contained in:
@@ -1545,6 +1545,10 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.getAppBackupDownloadLink = function (appId, backupId) {
|
||||
return client.apiOrigin + '/api/v1/apps/' + appId + '/backups/' + backupId + '/download?access_token=' + token;
|
||||
};
|
||||
|
||||
Client.prototype.getServices = function (callback) {
|
||||
get('/api/v1/services', null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
|
||||
Reference in New Issue
Block a user