🐛 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:
Ronald Langeveld 2023-07-31 13:32:58 +02:00 committed by GitHub
parent e8bf24045b
commit 42a1630740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -340,6 +340,7 @@ export default class PublishOptions {
}
this.post.status = 'draft';
this.post.emailOnly = false;
return yield this.post.save();
} catch (e) {