typo
This commit is contained in:
parent
4a654e5533
commit
8c4968ae29
@ -324,7 +324,7 @@ Cloudron.prototype.reboot = function () {
|
||||
Cloudron.prototype.checkTimeZone = function (tz) {
|
||||
var res = request.get(this._origin + '/api/v1/settings/time_zone').query({ access_token: this._credentials.accessToken }).end();
|
||||
common.verifyResponse2xx(res, 'Could not query timezone');
|
||||
if (tz !== res.body.timeZone) throw new Error('timezone does not match. expecting: %s got %s', tz, result.body.timeZone);
|
||||
if (tz !== res.body.timeZone) throw new Error('timezone does not match. expecting: ' + tz + ' got ' + res.body.timeZone);
|
||||
};
|
||||
|
||||
Cloudron.prototype.checkA = function (callback) {
|
||||
|
Loading…
Reference in New Issue
Block a user