send access token for listing app backups
This commit is contained in:
parent
3e51cc8d32
commit
06e95c460a
@ -284,7 +284,7 @@ Cloudron.prototype.restoreApp = function (appId, backup) {
|
||||
};
|
||||
|
||||
Cloudron.prototype.listAppBackups = function (appId) {
|
||||
var res = request.get(this._origin + '/api/v1/apps/' + appId + '/backups').end();
|
||||
var res = request.get(this._origin + '/api/v1/apps/' + appId + '/backups').query({ access_token: this._credentials.accessToken }).end();
|
||||
common.verifyResponse2xx(res, 'Could not list backups');
|
||||
return res.body.backups;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user