metadata-store: update +remove

Fixes urbit/landscape#428
This commit is contained in:
Liam Fitzgerald 2021-02-16 11:10:47 +10:00
parent f5268a528f
commit 79596d4ca8
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -9,12 +9,12 @@
:: and looking for the entry with an app-path that is similar to the
:: title of the channel
::
/- *metadata-store
/- metadata=metadata-store
/+ resource
:- %say
|= $: [now=@da eny=@uvJ =beak]
[[group=term app=term =path ~] ~]
[[group=term app=term rid=resource ~] ~]
==
:- %metadata-action
^- metadata-action
[%remove (en-path:resource [p.beak group]) app path]
^- action:metadata
[%remove [p.beak group] app rid]