Skip to content

Commit 417c5cd

Browse files
committed
feat(data): 🗃️ encode verb description in neo4j entity
1 parent 1cda054 commit 417c5cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/neo4j/writeBeacon.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export async function writeBeacon(entry:Lantern):Promise<Attempt> {
4141
atoms_verb: entry.atoms.verb,
4242
atoms_object: entry.atoms.object,
4343
atoms_adverbial: entry.atoms.adverbial,
44+
description: entry.description ?? "",
4445
shards_subject_head: entry.shards.subject.head,
4546
shards_subject_phrase: entry.shards.subject.phrase,
4647
shards_subject_article: entry.shards.subject.article,
@@ -81,6 +82,7 @@ export async function writeBeacon(entry:Lantern):Promise<Attempt> {
8182
object: record.atoms_object,
8283
adverbial: record.atoms_adverbial
8384
},
85+
description: record.description,
8486
category: record.category,
8587
isPublic: record.isPublic,
8688
isArchived: record.isArchived,

0 commit comments

Comments
 (0)