setDnsRecords API has changed
This commit is contained in:
@@ -280,7 +280,7 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
|
||||
setDnsRecords: function (callback) {
|
||||
$scope.incomingEmail.setupDnsBusy = true;
|
||||
|
||||
Client.setDnsRecords($scope.domain.domain, function (error) {
|
||||
Client.setDnsRecords({ domain: $scope.domain.domain, type: 'mail' }, function (error) {
|
||||
if (error) console.error(error);
|
||||
|
||||
$timeout(function () { $scope.incomingEmail.setupDnsBusy = false; }, 2000); // otherwise, it's too fast
|
||||
|
||||
Reference in New Issue
Block a user