mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03: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
@ -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…
Reference in New Issue
Block a user