setDnsRecords API has changed

This commit is contained in:
Girish Ramakrishnan
2021-02-24 22:00:05 -08:00
parent bdbbc78497
commit 5f0ff047d4
2 changed files with 5 additions and 5 deletions

View File

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