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

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