Skip to content

Commit

Permalink
Merge pull request #281 from shaunwarman/fix/newsletter-ref-issue
Browse files Browse the repository at this point in the history
fix: has_newsletter reference issue in admin page
  • Loading branch information
titanism authored Aug 25, 2024
2 parents 73d2675 + bfb8d47 commit 62f12d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/web/admin/domains.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async function update(ctx) {
throw Boom.forbidden(ctx.translateError('DOMAIN_REQUIRES_SMTP_ACCESS'));
}

domain.has_smtp = boolean(body.has_newsletter);
domain.has_newsletter = boolean(body.has_newsletter);
}

// smtp_suspended_sent_at
Expand Down

0 comments on commit 62f12d5

Please sign in to comment.