fix typos
This commit is contained in:
parent
ab56cd0475
commit
2e776d5e88
@ -23,7 +23,7 @@ process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
|
||||
|
||||
function Cloudron(box) {
|
||||
this._box = box;
|
||||
this.setDomain(box.domain);
|
||||
this._setDomain(box.domain);
|
||||
|
||||
this._credentials = {
|
||||
password: null,
|
||||
@ -410,6 +410,8 @@ Cloudron.prototype.reboot = function () {
|
||||
};
|
||||
|
||||
Cloudron.prototype.migrate = function (options) {
|
||||
options.password = this._credentials.password;
|
||||
|
||||
var res = request.post(this._origin + '/api/v1/cloudron/migrate')
|
||||
.query({ access_token: this._credentials.accessToken })
|
||||
.send(options)
|
||||
|
Loading…
Reference in New Issue
Block a user