mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
🐛 Fixed email only to post rescheduling. (#17538)
refs https://github.com/TryGhost/Product/issues/3657 - When reverting a post to a draft, the meta, `email_only` remained true. - This fix switches `email_only` back to false when the `revertToDraftTask` is executed.
This commit is contained in:
parent
e8bf24045b
commit
42a1630740
1 changed files with 1 additions and 0 deletions
|
@ -340,6 +340,7 @@ export default class PublishOptions {
|
|||
}
|
||||
|
||||
this.post.status = 'draft';
|
||||
this.post.emailOnly = false;
|
||||
|
||||
return yield this.post.save();
|
||||
} catch (e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue