0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server
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
..
adapters Swapped to American English spellings 2021-06-09 16:39:06 +01:00
api Fixed order of flatten/clean operations in posts output serializers (#13038) 2021-06-10 15:14:02 +01:00
data Enabled all labs flags when testing (#13036) 2021-06-10 12:54:34 +01:00
lib Updated package-json lib to not need DI 2021-06-09 16:48:19 +01:00
models Swapped to American English spellings 2021-06-09 16:39:06 +01:00
public New logo in Admin (#12768) 2021-03-18 17:27:27 +00:00
services Enabled all labs flags when testing (#13036) 2021-06-10 12:54:34 +01:00
views Added new, simpler, linear boot process 2021-02-08 11:56:44 +00:00
web Swapped to American English spellings 2021-06-09 16:39:06 +01:00
analytics-events.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
ghost-server.js Updated ghost-server to use new minimal tpl helper 2021-06-09 12:20:59 +01:00
notify.js Refactored notify to send started + ready 2021-02-19 20:42:10 +00:00
overrides.js Moved sqlite3 override rules to db connection lib 2021-02-05 11:51:56 +00:00
run-update-check.js Move the update-check service to a scheduled job 2021-05-27 17:17:26 +02:00
update-check.js Removed update check service in favor of external package 2021-06-03 13:24:19 +04:00