mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
281fbc973e
refs https://github.com/TryGhost/Product/issues/4088 The Content API should not expose the lexical/mobiledoc source content because it's not membership-gated and although not used at the present time may in future contain additional internal metadata. We were handling this for the more-typical `?formats` param but it was still possible to access this data using the `?fields` param. - updated post mapper used in our API output serializers to strip the `mobiledoc` and `lexical` fields ready for API output - credits to Prathap Puthran for reporting |
||
---|---|---|
.. | ||
__snapshots__ | ||
authors.test.js | ||
collections.test.js | ||
key_authentication.test.js | ||
newsletters.test.js | ||
offers.test.js | ||
pages.test.js | ||
posts.test.js | ||
recommendations.test.js | ||
settings.test.js | ||
tags.test.js | ||
tiers.test.js | ||
utils.js |