Skip to content

Commit d058890

Browse files
committed
Make afterDeleteMany a working hook
1 parent cba7071 commit d058890

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

server/services/lifecycle/lifecycle.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,8 @@ module.exports = ({ strapi }) => {
106106
)
107107
})
108108
},
109-
async afterDeleteMany() {
110-
strapi.log.error(
111-
`Meilisearch could not find an example on how to access the \`afterDeleteMany\` hook. Please consider making an issue to explain your use case`
112-
)
109+
async afterDeleteMany(event) {
110+
this.afterDelete(event)
113111
},
114112
})
115113

0 commit comments

Comments
 (0)