mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-21 07:28:30 +03:00
publish: migrate note body correctly
This commit is contained in:
parent
c6dc485d24
commit
829cd509b4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user