diff --git a/packages/api/src/resolvers/function_resolvers.ts b/packages/api/src/resolvers/function_resolvers.ts index 81d3edfd8..9d06dac42 100644 --- a/packages/api/src/resolvers/function_resolvers.ts +++ b/packages/api/src/resolvers/function_resolvers.ts @@ -470,7 +470,7 @@ export const functionResolvers = { ? ContentReader.Pdf : ContentReader.Web }, - async highlights( + highlights( article: { id: string; userId?: string; highlights?: Highlight[] }, _: { input: ArticleHighlightsInput }, ctx: WithDataSourcesContext