mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Fixed typo
This commit is contained in:
parent
3ecff41a11
commit
2a7166ffc3
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ module.exports = class MemberRepository {
|
|||
if (needsNewsletters) {
|
||||
const existingNewsletters = initialMember.related('newsletters').models;
|
||||
|
||||
// This maps the old susbcribed property to the new newsletters field
|
||||
// This maps the old subscribed property to the new newsletters field
|
||||
if (!memberData.newsletters) {
|
||||
if (memberData.subscribed === false) {
|
||||
memberData.newsletters = [];
|
||||
|
|
Loading…
Add table
Reference in a new issue