feat(emails): upgrade script for includeUnverifiedEmails

This commit is contained in:
Julian Lam
2021-06-18 13:12:44 -04:00
parent be97aa6f13
commit 50517020a2

View File

@@ -0,0 +1,12 @@
'use strict';
const meta = require('../../meta');
module.exports = {
name: 'Enable setting to include unverified emails for all mailings',
// remember, month is zero-indexed (so January is 0, December is 11)
timestamp: Date.UTC(2021, 5, 18),
method: async () => {
await meta.configs.set('includeUnverifiedEmails', 1);
},
};