email -> mail
This commit is contained in:
@@ -39,8 +39,7 @@ exports = module.exports = {
|
||||
var assert = require('assert'),
|
||||
certificates = require('../certificates.js'),
|
||||
CertificatesError = require('../certificates.js').CertificatesError,
|
||||
config = require('../config.js'),
|
||||
email = require('../email.js'),
|
||||
mail = require('../mail.js'),
|
||||
HttpError = require('connect-lastmile').HttpError,
|
||||
HttpSuccess = require('connect-lastmile').HttpSuccess,
|
||||
safe = require('safetydance'),
|
||||
@@ -228,7 +227,7 @@ function getCloudronAvatar(req, res, next) {
|
||||
}
|
||||
|
||||
function getEmailStatus(req, res, next) {
|
||||
email.getStatus(function (error, records) {
|
||||
mail.getStatus(function (error, records) {
|
||||
if (error) return next(new HttpError(500, error));
|
||||
|
||||
next(new HttpSuccess(200, records));
|
||||
|
||||
Reference in New Issue
Block a user