Rename func and put error below the control label
This commit is contained in:
@@ -240,7 +240,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
asyncForEach(domains, function (domain, callback) {
|
||||
if (overwriteDns) return callback();
|
||||
|
||||
Client.getDNSRecords(domain.domain, domain.subdomain, function (error, result) {
|
||||
Client.checkDNSRecords(domain.domain, domain.subdomain, function (error, result) {
|
||||
if (error) return callback(error);
|
||||
if (result.error) {
|
||||
if (data.domain === domain.domain && data.location === domain.subdomain) {
|
||||
|
||||
Reference in New Issue
Block a user