From 648878fdba9c78466e8c5e2b514d5ebefdde4bf2 Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Tue, 10 Sep 2024 11:26:45 -0500 Subject: [PATCH] reel: fix bad lure URL and missing mark --- desk/mar/reel/confirmation.hoon | 12 ++++++++++++ desk/ted/reel/set-ship.hoon | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 desk/mar/reel/confirmation.hoon diff --git a/desk/mar/reel/confirmation.hoon b/desk/mar/reel/confirmation.hoon new file mode 100644 index 00000000..891aac88 --- /dev/null +++ b/desk/mar/reel/confirmation.hoon @@ -0,0 +1,12 @@ +/- reel +|_ =confirmation:reel +++ grad %noun +++ grab + |% + ++ noun confirmation:reel + -- +++ grow + |% + ++ noun confirmation + -- +-- diff --git a/desk/ted/reel/set-ship.hoon b/desk/ted/reel/set-ship.hoon index 0de8478b..9e711501 100644 --- a/desk/ted/reel/set-ship.hoon +++ b/desk/ted/reel/set-ship.hoon @@ -11,7 +11,7 @@ =/ url ?: =(vic 'https://tlon.network/lure/') "https://tlon.network/v1/lure/bait/who" - "{(trip vic)}bait/who" + "{(trip vic)}lure/bait/who" ;< =json bind:m (fetch-json url) =/ =ship (slav %p (so:dejs:format json)) ;< ~ bind:m (poke [our %reel] reel-command+!>([%set-ship ship]))