File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/sim/lib/knowledge/documents Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -668,7 +668,7 @@ export function isTriggerAvailable(): boolean {
668668export async function processDocumentsWithTrigger (
669669 documents : DocumentProcessingPayload [ ] ,
670670 requestId : string
671- ) : Promise < { success : boolean ; message : string ; jobIds ?: string [ ] } > {
671+ ) : Promise < { success : boolean ; message : string ; batchIds ?: string [ ] } > {
672672 if ( ! isTriggerAvailable ( ) ) {
673673 throw new Error ( 'Trigger.dev is not configured - TRIGGER_SECRET_KEY missing' )
674674 }
@@ -700,7 +700,7 @@ export async function processDocumentsWithTrigger(
700700 return {
701701 success : true ,
702702 message : `${ documents . length } document processing jobs triggered` ,
703- jobIds : batchIds ,
703+ batchIds,
704704 }
705705 } catch ( error ) {
706706 logger . error ( `[${ requestId } ] Failed to trigger document processing jobs:` , error )
You can’t perform that action at this time.
0 commit comments