Ghost/core/server/api/canary/utils/serializers
Naz Gargol b48f1f4b2c
Updated defaults handling for email property in posts (#11355)
no issue

- Fixed default email property output when the empty value is returned
- This is needed for consistency with other endpoint properties like primary_tag which are null when there is no value assigned
- Updated acceptance tests to handle email property
- Schema had to be updated to not use reference so that the information about email can be independent of the post - can still exist if the post is deleted
2019-11-08 11:40:49 +07:00
..
input Made email a default include on posts API in v3/canary 2019-11-07 12:47:07 +07:00
output Updated defaults handling for email property in posts (#11355) 2019-11-08 11:40:49 +07:00
index.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30