Federate deletion of collection item (#37837)
This commit is contained in:
1 parent
37e82ee66f
commit
37d859db29
5 files changed
+97
-1
No files matched your search
@@ -27,7 +27,7 @@ class Api::V1Alpha::CollectionItemsController < Api::BaseController
|
||||
def destroy
|
||||
authorize @collection, :update?
|
||||
|
||||
@collection_item.destroy
|
||||
DeleteCollectionItemService.new.call(@collection_item)
|
||||
|
||||
head 200
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user