Skip to content

Commit

Permalink
Merge pull request strapi#1646 from strapi/fix-1645
Browse files Browse the repository at this point in the history
Fix delete morph relation bookshelf
  • Loading branch information
lauriejim committed Jul 26, 2018
1 parent aa37a3a commit 172e5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/strapi-hook-bookshelf/lib/relations.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ module.exports = {
[`${params.alias}_id`]: params.refId,
[`${params.alias}_type`]: params.ref,
field: params.field
}, _.isEmpty))
}, _.isUndefined))
.destroy();
}
};

0 comments on commit 172e5bc

Please sign in to comment.