a tool for shared writing and social publishing

add doc to inngest return

+1 -1
+1 -1
app/api/inngest/functions/sync_document_metadata.ts
··· 25 const isBridgy = !!doc?.service?.find( 26 (s) => s.serviceEndpoint === "https://atproto.brid.gy", 27 ); 28 - return { handle: handle ?? null, isBridgy }; 29 }); 30 if (!handleResult) return { error: "No Handle" }; 31
··· 25 const isBridgy = !!doc?.service?.find( 26 (s) => s.serviceEndpoint === "https://atproto.brid.gy", 27 ); 28 + return { handle: handle ?? null, isBridgy, doc }; 29 }); 30 if (!handleResult) return { error: "No Handle" }; 31