send access token
This commit is contained in:
parent
92fc9fbd40
commit
436aa41025
@ -255,7 +255,7 @@ Cloudron.prototype.backup = function () {
|
||||
};
|
||||
|
||||
Cloudron.prototype.reboot = function () {
|
||||
var res = request.post(this._origin + '/api/v1/cloudron/reboot').send({ }).end();
|
||||
var res = request.post(this._origin + '/api/v1/cloudron/reboot').query({ access_token: this._credentials.accessToken }).send({ }).end();
|
||||
verifyResponse(res, 'Box could not be rebooted');
|
||||
this.waitForBox();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user