Delete label by name

This commit is contained in:
Hongbo Wu 2022-06-09 12:33:58 +08:00
parent 4cf45af669
commit 4f4cc51a37

View file

@ -179,7 +179,7 @@ export const deleteLabelResolver = authorized<
}
// delete label in elastic pages and highlights
await deleteLabel(labelId, {
await deleteLabel(label.name, {
pubsub: createPubSubClient(),
uid,
})