Rename func and put error below the control label

This commit is contained in:
Girish Ramakrishnan
2019-09-24 00:04:31 -07:00
parent 44f62eac9a
commit 7946f5ee81
4 changed files with 6 additions and 5 deletions

View File

@@ -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) {