Ghost/core/server/api/canary/utils
Kevin Ansfield 9810c41dca 🐛 Fixed facebook/twitter images having relative URLS in API output
no issue

Output serializer's url util was expecting `og_image` and `twitter_image` to be top-level attributes in the `attrs` object but they are actually nested under `posts_meta`.

- updated the code to use lodash's `get/set()` so that we can work with paths for easier handling of nested objects
- fixed unit tests where the mocked data under test did not match real-world data
2020-06-30 16:40:34 +01:00
..
serializers 🐛 Fixed facebook/twitter images having relative URLS in API output 2020-06-30 16:40:34 +01:00
validators Updated serializers/model layer validation using settings type 2020-06-30 17:38:36 +05:30
index.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
permissions.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00