Rename func and put error below the control label
This commit is contained in:
@@ -1731,7 +1731,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.getDNSRecords = function (domain, subdomain, callback) {
|
||||
Client.prototype.checkDNSRecords = function (domain, subdomain, callback) {
|
||||
get('/api/v1/domains/' + domain + '/dns_check?subdomain=' + subdomain, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
|
||||
Reference in New Issue
Block a user