tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
a tool for shared writing and social publishing
284
fork
atom
overview
issues
27
pulls
pipelines
add doc to inngest return
awarm.space
21 hours ago
9c5c5c6b
ffb44ee2
+1
-1
1 changed file
expand all
collapse all
unified
split
app
api
inngest
functions
sync_document_metadata.ts
+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