0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core
Kevin Ansfield 4e724b6451
Fixed order of flatten/clean operations in posts output serializers (#13038)
no issue

`post.clean()` implementation was expecting a flat structure representing final API output but was being called before the flatten operation for `posts_meta` meaning the structure looked like `attrs.posts_meta.property` instead

- adjusted order in output serializers to call `clean()` after flattening the `posts_meta` object
- in `v2` output serializer, moved removal of properties from the serializer into `clean()` for consistency
2021-06-10 15:14:02 +01:00
..
client@952a65065d Updated Ghost-Admin to v4.7.0 2021-06-08 17:06:37 +01:00
frontend Swapped to American English spellings 2021-06-09 16:39:06 +01:00
server Fixed order of flatten/clean operations in posts output serializers (#13038) 2021-06-10 15:14:02 +01:00
shared Updated ghost-server to use new minimal tpl helper 2021-06-09 12:20:59 +01:00
app.js
boot.js Move the update-check service to a scheduled job 2021-05-27 17:17:26 +02:00
bridge.js Swapped to American English spellings 2021-06-09 16:39:06 +01:00