0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-25 02:31:59 -05:00

Exposed visibility prop for posts on canary api (#11229)

no-issue

This is required by the theme layer to style member only posts
differently
This commit is contained in:
Fabien O'Carroll 2019-10-11 13:58:50 +07:00 committed by GitHub
parent 95fa815eb3
commit 3eb4427888
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,8 +98,6 @@ const post = (attrs, frame) => {
if (attrs.og_description === '') {
attrs.og_description = null;
}
delete attrs.visibility;
} else {
delete attrs.page;