chat: serialize %keys to JSON for chat update

This commit is contained in:
Caio Marcelo de Oliveira Filho 2020-08-12 14:02:15 -07:00
parent b0d252fa76
commit 058ec8aa2c

View File

@ -93,7 +93,11 @@
[%create (pairs [%path (path path.upd)]~)]
?: ?=(%delete -.upd)
[%delete (pairs [%path (path path.upd)]~)]
[*@t *json]
?> ?=(%keys -.upd)
:- %keys
:- %a
%+ turn ~(tap by keys.upd)
|= pax=^path (path pax)
==
--
++ dejs