File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
server/services/lifecycle Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ module.exports = ({ strapi }) => {
4242 )
4343 } )
4444 } ,
45- afterCreateMany ( ) {
45+ async afterCreateMany ( ) {
4646 strapi . log . error (
4747 `Meilisearch does not work with \`afterCreateMany\` hook as the entries are provided without their id`
4848 )
@@ -72,12 +72,12 @@ module.exports = ({ strapi }) => {
7272 )
7373 } )
7474 } ,
75- afterUpdateMany ( ) {
75+ async afterUpdateMany ( ) {
7676 strapi . log . error (
7777 `Meilisearch could not find an example on how to access the \`afterUpdateMany\` hook. Please consider making an issue to explain your use case`
7878 )
7979 } ,
80- afterDelete ( event ) {
80+ async afterDelete ( event ) {
8181 const { result, params } = event
8282 const meilisearch = strapi
8383 . plugin ( 'meilisearch' )
@@ -106,7 +106,7 @@ module.exports = ({ strapi }) => {
106106 )
107107 } )
108108 } ,
109- afterDeleteMany ( ) {
109+ async afterDeleteMany ( ) {
110110 strapi . log . error (
111111 `Meilisearch could not find an example on how to access the \`afterDeleteMany\` hook. Please consider making an issue to explain your use case`
112112 )
You can’t perform that action at this time.
0 commit comments