From 587568e1cc0e33c023c1ac62dd28fef313285250 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 22 Jul 2019 11:18:22 +0200 Subject: Add plugin table migration table --- shared/core-utils/plugins/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared/core-utils/plugins/hooks.ts') diff --git a/shared/core-utils/plugins/hooks.ts b/shared/core-utils/plugins/hooks.ts index 60f4130f5..3d59a7428 100644 --- a/shared/core-utils/plugins/hooks.ts +++ b/shared/core-utils/plugins/hooks.ts @@ -8,7 +8,7 @@ function getHookType (hookName: string) { return HookType.STATIC } -async function internalRunHook (handler: Function, hookType: HookType, result: T, params: any, onError: (err: Error) => void) { +async function internalRunHook (handler: Function, hookType: HookType, result: T, params: any, onError: (err: Error) => void) { try { if (hookType === HookType.FILTER) { const p = handler(result, params) -- cgit v1.2.3