0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Fixed linting error

This commit is contained in:
Simon Backx 2022-05-03 14:25:50 +02:00
parent da3b3850f5
commit 5c6316f051

View file

@ -128,7 +128,7 @@ function getAction(event) {
function getObject(event) {
if (event.type === 'newsletter_event') {
if (event.data.newsletter && event.data.newsletter.name) {
return 'emails from '+event.data.newsletter.name;
return 'emails from ' + event.data.newsletter.name;
}
return 'emails';
}