tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
294
fork
atom
a tool for shared writing and social publishing
294
fork
atom
overview
issues
31
pulls
pipelines
clear old relations on updating publications of documents
awarm.space
5 months ago
b0a30e62
8c01afea
+5
1 changed file
expand all
collapse all
unified
split
appview
index.ts
+5
appview/index.ts
···
116
116
publication: record.value.publication,
117
117
document: evt.uri.toString(),
118
118
});
119
119
+
await supabase
120
120
+
.from("documents_in_publications")
121
121
+
.delete()
122
122
+
.neq("publication", record.value.publication)
123
123
+
.eq("document", evt.uri.toString());
119
124
if (docInPublicationResult.error)
120
125
console.log(docInPublicationResult.error);
121
126
}