0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/core
Rishabh Garg e91beb72e8
Replaced offer serializer with mapper (#15028)
closes https://github.com/TryGhost/Team/issues/1623

The offers API endpoint had it's own custom serializer pattern, which didn't fit well with how the API is meant to work.

- refactored the offer data format returned by internal api controller to match other controllers
- removed custom serializer for offers, instead adds a mapper to follow consistent pattern for all apis
- adds explicit allowlist for offers content API data
2022-07-14 21:40:33 +05:30
..
admin@076cd675cf Updated Admin to v5.3.1 2022-07-13 12:55:34 +01:00
cli Added docs for writing new commands 2022-05-17 17:16:44 +01:00
frontend Member Counter template helpers (#15013) 2022-07-14 10:10:02 +02:00
server Replaced offer serializer with mapper (#15028) 2022-07-14 21:40:33 +05:30
shared Added access-control-max-age to content API preflight requests (#15026) 2022-07-14 09:09:53 +02:00
app.js
boot.js Added WIP author email notifications for new comments 2022-07-12 10:24:02 +02:00
bridge.js Added build step for admin-auth asset files 2022-07-12 10:24:02 +02:00