mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03: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
@ -340,6 +340,7 @@ export default class PublishOptions {
|
||||
}
|
||||
|
||||
this.post.status = 'draft';
|
||||
this.post.emailOnly = false;
|
||||
|
||||
return yield this.post.save();
|
||||
} catch (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user