this and that

This commit is contained in:
Girish Ramakrishnan 2016-05-18 01:36:58 -07:00
parent 0f56cf7e97
commit 10681f50db

View File

@ -401,7 +401,7 @@ Cloudron.prototype.checkMX = function (callback) {
if (error) return callback(error);
if (records.length !== 1) return callback(new Error('Got ' + JSON.stringify(records) + ' MX records. Expecting 1 length array'));
if (records[0].exchange !== this._adminFqdn) return callback(new Error('Bad MX record. ' + records[0]));
if (records[0].exchange !== that._adminFqdn) return callback(new Error('Bad MX record. ' + JSON.stringify(records[0])));
callback(null, records);
});