mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
807322dccb
refs https://github.com/TryGhost/Team/issues/694 - The code complexity in the email preview's read controller method was breaking the complexity rule in ESLint. To reduce the complexity extracted common parts into mega service
14 lines
247 B
JavaScript
14 lines
247 B
JavaScript
module.exports = {
|
|
get mega() {
|
|
return require('./mega');
|
|
},
|
|
|
|
get postEmailSerializer() {
|
|
return require('./post-email-serializer');
|
|
},
|
|
|
|
get EmailPreview() {
|
|
return require('./email-preview');
|
|
}
|
|
};
|
|
|