mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Fixed linting error
This commit is contained in:
parent
a82d0f499d
commit
27f48e743b
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ module.exports = class MemberRepository {
|
|||
if (!memberData.newsletters) {
|
||||
if (memberData.subscribed === false) {
|
||||
memberData.newsletters = [];
|
||||
} else if (memberData.subscribed === true && !existingNewsletters.find((n) => n.status === 'active')) {
|
||||
} else if (memberData.subscribed === true && !existingNewsletters.find(n => n.status === 'active')) {
|
||||
const browseOptions = _.pick(options, 'transacting');
|
||||
memberData.newsletters = await this.getSubscribeOnSignupNewsletters(browseOptions);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue