Call the correct function to get dns email records in the webadmin

This commit is contained in:
Johannes Zellner
2017-01-10 15:43:14 +01:00
parent a20b331095
commit 99505fc287

View File

@@ -453,7 +453,7 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
// nothing to check if mail is not enabled
if (!$scope.mailConfig.enabled) return;
Client.showExpectedDnsRecords(function (error, dnsRecords) {
Client.getExpectedDnsRecords(function (error, dnsRecords) {
if (error) return callback(error);
$scope.expectedDnsRecords = dnsRecords;