mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +03:00
pull-hook: make wires more stable identifiers based on resource
This commit is contained in:
parent
eed45be0e8
commit
358a6e73fd
@ -404,7 +404,7 @@
|
||||
=/ =wire
|
||||
(make-wire pull+resource+(en-path:resource rid))
|
||||
[%pass wire %agent [u.ship push-hook-name.config] %leave ~]~
|
||||
|
||||
::
|
||||
++ watch-resource
|
||||
|= [rid=resource pax=path]
|
||||
^- (list card)
|
||||
@ -414,7 +414,7 @@
|
||||
=/ =path
|
||||
(welp resource+(en-path:resource rid) pax)
|
||||
=/ =wire
|
||||
(make-wire pull+path)
|
||||
(make-wire pull+resource+(en-path:resource rid))
|
||||
[%pass wire %agent [u.ship push-hook-name.config] %watch path]~
|
||||
::
|
||||
++ make-wire
|
||||
|
Loading…
Reference in New Issue
Block a user