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

Fixed Admin sending all post revisions along with each post save request (#18582)

no issue

- deleted `post_revisions` from the serialized JSON string for posts
This commit is contained in:
Kevin Ansfield 2023-10-11 18:37:50 +01:00 committed by GitHub
parent 8822725c01
commit e213a5ca3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,7 @@ export default class PostSerializer extends ApplicationSerializer.extend(Embedde
delete json.email_recipient_filter;
delete json.email;
delete json.newsletter;
delete json.post_revisions;
// Deprecated property (replaced with data.authors)
delete json.author;
// Page-only properties