Remove async

This commit is contained in:
Hongbo Wu 2023-03-23 10:45:39 +08:00
parent abb8df26e5
commit dd24cfbeec

View file

@ -470,7 +470,7 @@ export const functionResolvers = {
? ContentReader.Pdf ? ContentReader.Pdf
: ContentReader.Web : ContentReader.Web
}, },
async highlights( highlights(
article: { id: string; userId?: string; highlights?: Highlight[] }, article: { id: string; userId?: string; highlights?: Highlight[] },
_: { input: ArticleHighlightsInput }, _: { input: ArticleHighlightsInput },
ctx: WithDataSourcesContext ctx: WithDataSourcesContext