diff --git a/app/api/inngest/functions/sync_document_metadata.ts b/app/api/inngest/functions/sync_document_metadata.ts index 8dc0c775..1c091192 100644 --- a/app/api/inngest/functions/sync_document_metadata.ts +++ b/app/api/inngest/functions/sync_document_metadata.ts @@ -32,7 +32,7 @@ export const sync_document_metadata = inngest.createFunction( if (!handleResult) return { error: "No Handle" }; await step.run("set-indexed", async () => { - await supabaseServerClient + return await supabaseServerClient .from("documents") .update({ indexed: !handleResult.isBridgy }) .eq("uri", document_uri);