diff options
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/expandAuthor.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/expandAuthor.ts b/hooks/expandAuthor.ts index 1f33ff0..3b3e3df 100644 --- a/hooks/expandAuthor.ts +++ b/hooks/expandAuthor.ts @@ -25,7 +25,7 @@ export const expandAuthorHook = async (context: HookContext): Promise<HookContex }; export const expandAuthorManyHook = async (context: HookContext): Promise<HookContext> => { - const polls = await bluebird.map(context.result, (poll: any) => expandAuthor(poll)); + const polls = await bluebird.map(context.result, (poll: PollSchema) => expandAuthor(poll)); context.result = _.compact(polls); return context; }; |