0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Fixed typo

This commit is contained in:
Naz 2022-07-14 12:10:18 +01:00
parent 3ecff41a11
commit 2a7166ffc3

View file

@ -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 = [];