feat(emails): upgrade script for includeUnverifiedEmails
parent
be97aa6f13
commit
50517020a2
@ -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);
|
||||||
|
},
|
||||||
|
};
|
Loading…
Reference in New Issue