0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Made send_email_when_published nullable

no-issue
This commit is contained in:
Fabien O'Carroll 2019-11-04 12:53:08 +07:00
parent 20ce0c313c
commit 5b071d08de

View file

@ -29,7 +29,7 @@ module.exports = {
defaultTo: 'public',
validations: {isIn: [['public', 'members', 'paid']]}
},
send_email_when_published: {type: 'bool', nullable: false, defaultTo: false},
send_email_when_published: {type: 'bool', nullable: true, defaultTo: false},
/**
* @deprecated: `author_id`, might be removed in Ghost 3.0
* If we keep it, then only, because you can easier query post.author_id than posts_authors[*].sort_order.