Rename email dns records route

This commit is contained in:
Johannes Zellner
2016-12-14 14:36:00 +01:00
parent 1065b56380
commit 8fe1f2fef1
4 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -10,7 +10,7 @@ exports = module.exports = {
getCloudronAvatar: getCloudronAvatar,
setCloudronAvatar: setCloudronAvatar,
getExpectedDnsRecords: getExpectedDnsRecords,
getEmailDnsRecords: getEmailDnsRecords,
getDnsConfig: getDnsConfig,
setDnsConfig: setDnsConfig,
@@ -149,8 +149,8 @@ function getCloudronAvatar(req, res, next) {
});
}
function getExpectedDnsRecords(req, res, next) {
settings.getExpectedDnsRecords(function (error, records) {
function getEmailDnsRecords(req, res, next) {
settings.getEmailDnsRecords(function (error, records) {
if (error) return next(new HttpError(500, error));
next(new HttpSuccess(200, records));