0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/api/canary/utils
Hannah Wolfe f7ad32e76b
Removed unnecessary snippets serializer
refs: https://github.com/TryGhost/Toolbox/issues/245

- The default behaviour of a serializer is to call a mapper for each object
- Instead of all the boilerplate code we had in the snippets serializer, all we need is a single mapper function
- Added tests for the mapper function as well
2022-03-29 15:51:45 +01:00
..
serializers Removed unnecessary snippets serializer 2022-03-29 15:51:45 +01:00
validators Added /tiers API to Admin API (#14200) 2022-02-23 17:00:18 +02:00
index.js
permissions.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00