From f53ab0f52b54b5e445c52357afb52777aaa47c51 Mon Sep 17 00:00:00 2001 From: Rish Date: Tue, 17 Nov 2020 14:30:32 +0530 Subject: [PATCH] Updated default config for newsletter badge no refs - Migrations were using previous default for badge which was set to `false` - Default config for badge was `false` which caused migration to switch off the badge, updated to `true` --- .../versions/3.38/07-migrate-newsletter-settings-from-config.js | 2 +- core/shared/config/defaults.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/server/data/migrations/versions/3.38/07-migrate-newsletter-settings-from-config.js b/core/server/data/migrations/versions/3.38/07-migrate-newsletter-settings-from-config.js index 03f25cb8fa..aab29f8850 100644 --- a/core/server/data/migrations/versions/3.38/07-migrate-newsletter-settings-from-config.js +++ b/core/server/data/migrations/versions/3.38/07-migrate-newsletter-settings-from-config.js @@ -38,7 +38,7 @@ module.exports = createTransactionalMigration( logging.info('Updating newsletter_show_badge setting to default "false"'); await connection('settings') .update({ - value: 'false' + value: 'true' }) .where({ key: 'newsletter_show_badge' diff --git a/core/shared/config/defaults.json b/core/shared/config/defaults.json index 53e9e268f3..218008f082 100644 --- a/core/shared/config/defaults.json +++ b/core/shared/config/defaults.json @@ -33,7 +33,7 @@ "paymentProcessors": [], "emailTemplate": { "showSiteHeader": true, - "showPoweredBy": false + "showPoweredBy": true } }, "logging": {