Call the new setDnsRecords route
This commit is contained in:
@@ -204,7 +204,12 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
|
||||
|
||||
Client.enableMailForDomain($scope.selectedDomain.domain, true , function (error) {
|
||||
if (error) return console.error(error);
|
||||
$scope.refreshDomain();
|
||||
|
||||
Client.setDnsRecords($scope.selectedDomain.domain, function (error) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
$scope.refreshDomain();
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user