Skip to content

Commit

Permalink
Reusable Blocks: Trash on delete action
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Oct 19, 2018
1 parent c8ad73a commit 9c1da9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/store/effects/reusable-blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const deleteReusableBlocks = async ( action, store ) => {

try {
await apiFetch( {
path: `/wp/v2/${ postType.rest_base }/${ id }?force=true`,
path: `/wp/v2/${ postType.rest_base }/${ id }`,
method: 'DELETE',
} );
dispatch( {
Expand Down

0 comments on commit 9c1da9e

Please sign in to comment.