mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added serializer for members.destroy
refs: https://github.com/TryGhost/Toolbox/issues/245 - This was the only endpoint in the members API that didn't have a serializer - It just needs to be a simple passthrough, but we define it so we can change the default
This commit is contained in:
parent
c89a01b031
commit
a29ee2834d
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ module.exports = {
|
|||
read: createSerializer('read', singleMember),
|
||||
edit: createSerializer('edit', singleMember),
|
||||
add: createSerializer('add', singleMember),
|
||||
destroy: createSerializer('destroy', passthrough),
|
||||
|
||||
editSubscription: createSerializer('editSubscription', singleMember),
|
||||
createSubscription: createSerializer('createSubscription', singleMember),
|
||||
bulkDestroy: createSerializer('bulkDestroy', passthrough),
|
||||
|
|
Loading…
Add table
Reference in a new issue