feat: remove sync hooks support

This commit is contained in:
Barış Soner Uşaklı
2021-04-22 11:35:36 -04:00
parent 4e490f6058
commit 01956af43a
2 changed files with 1 additions and 10 deletions

View File

@@ -137,10 +137,6 @@ async function fireFilterHook(hook, hookList, params) {
payload => resolve(payload),
err => reject(err)
);
return;
}
if (returned) {
resolve(returned);
}
});
}