Update apps/api/src/lib/extract/extraction-service.ts

This commit is contained in:
Gergő Móricz 2025-01-07 20:18:10 +01:00 committed by GitHub
parent eb254547e5
commit 1f2a76fc23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ function getRootDomain(url: string): string {
}
}
export async function performExtraction(extractId, options: ExtractServiceOptions): Promise<ExtractResult> {
export async function performExtraction(extractId: string, options: ExtractServiceOptions): Promise<ExtractResult> {
const { request, teamId, plan, subId } = options;
const urlTraces: URLTrace[] = [];
let docs: Document[] = [];