lib-push-hook: fix behaviour of %remove
%remove did not properly iterate over the paths and as such did not
return a complete list of paths to kick.
Fixes
|= rid=resource
=/ pax=path
[%resource (en-path:resource rid)]
- =/ paths=(list path)
+ =/ paths=(set path)
+ %- sy
%+ turn
(incoming-subscriptions pax)
- |=([ship pox=path] pax)
+ |=([ship pox=path] pox)
=. sharing
(~(del in sharing) rid)
:_ state
- [%give %kick ~[pax] ~]~
+ [%give %kick ~(tap in paths) ~]~
::
++ revoke
|= [ships=(set ship) rid=resource]
