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
log when setting indexed
awarm.space
16 hours ago
c460c609
5a7a4d32
+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
···
32
if (!handleResult) return { error: "No Handle" };
33
34
await step.run("set-indexed", async () => {
35
-
await supabaseServerClient
36
.from("documents")
37
.update({ indexed: !handleResult.isBridgy })
38
.eq("uri", document_uri);
···
32
if (!handleResult) return { error: "No Handle" };
33
34
await step.run("set-indexed", async () => {
35
+
return await supabaseServerClient
36
.from("documents")
37
.update({ indexed: !handleResult.isBridgy })
38
.eq("uri", document_uri);