mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03: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
15 lines
247 B
JavaScript
15 lines
247 B
JavaScript
module.exports = {
|
|
get mega() {
|
|
return require('./mega');
|
|
},
|
|
|
|
get postEmailSerializer() {
|
|
return require('./post-email-serializer');
|
|
},
|
|
|
|
get EmailPreview() {
|
|
return require('./email-preview');
|
|
}
|
|
};
|
|
|