From 829cd509b46748ec2f529a1ade809ca5e9d76f8e Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Thu, 29 Oct 2020 12:56:41 +1000 Subject: [PATCH] publish: migrate note body correctly --- pkg/arvo/app/publish.hoon | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkg/arvo/app/publish.hoon b/pkg/arvo/app/publish.hoon index 64baca314..f1639c486 100644 --- a/pkg/arvo/app/publish.hoon +++ b/pkg/arvo/app/publish.hoon @@ -335,9 +335,16 @@ ^- graph:graph-store %^ put:orm:graph-store *graph:graph-store %1 + =/ body=@t + =/ idx + (find ";>" file.note) + ?~ idx + file.note + %- crip + (slag (add 2 u.idx) (trip file.note)) %* . (blank-note-node note) index.post ~[date-created.note %1 %1] - contents.post ~[text+title.note text+filename.note] + contents.post ~[text+title.note text+body] == :: ++ comments-to-internal-graph