Ghost/core/server/services/mega
Naz d5cf0fc03e Bumped MEGA related serialization code to use v4 API
refs https://github.com/TryGhost/Ghost/issues/12716

- The code in serializePostModel was broken and always defaulted to 'v3'!  It refered to non-existent `model.get('api_version')` there's no such field in posts model! Changed the implementation so that the API version is passed in as a parameter to the method instead
- The style of providing "defaults" everywhere creates a need for future maintenance when we bump the version e.g in Ghost v5. Maybe reworking these methods to require a passed version and throwing an error instead would be more maintainable long-term?
2021-03-02 14:31:01 +13:00
..
index.js Extracted post email serializer from mega service 2019-11-05 12:15:50 +07:00
mega.js Bumped MEGA related serialization code to use v4 API 2021-03-02 14:31:01 +13:00
post-email-serializer.js Bumped MEGA related serialization code to use v4 API 2021-03-02 14:31:01 +13:00
template.js Fixed bug for newsletter bookmarks without author displaying redundant separator 2021-02-09 09:35:45 +01:00