backup creation route has changed

This commit is contained in:
Girish Ramakrishnan 2015-06-17 08:06:01 -07:00
parent 030846a6b5
commit 9115fdd51b
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ Cloudron.prototype.backup = function () {
var existingBackups = res.body.backups;
console.dir(existingBackups);
res = request.post(this._origin + '/api/v1/cloudron/backups').query({ access_token: this._credentials.accessToken }).end();
res = request.post(this._origin + '/api/v1/backups').query({ access_token: this._credentials.accessToken }).end();
verifyResponse(res, 'Could not schedule backup');
while (true) {