From f2fec50b502b9ec74b86a7f376983196d48f17f5 Mon Sep 17 00:00:00 2001 From: fang Date: Fri, 14 Jul 2023 19:30:58 +0200 Subject: [PATCH] bark: stop handling old summary response types Growl isn't actually live on any ships yet, so we do not need to account for this case. --- desk/app/bark.hoon | 7 +------ desk/ted/save-summary.hoon | 3 +-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/desk/app/bark.hoon b/desk/app/bark.hoon index 0a64179..93dfb1d 100644 --- a/desk/app/bark.hoon +++ b/desk/app/bark.hoon @@ -70,7 +70,6 @@ !< %- unit $: requested=time $= summary - $^ carpet:hark ::NOTE see also /lib/summarize $% [%life active=[s=@ud r=@ud g=@t] inactive=[d=@ud c=@ud g=@t c=@t]] == == @@ -82,11 +81,7 @@ :~ :* %pass /save-summary/(scot %p src.bowl)/(scot %da requested.u.result) %arvo %k %fard %bark %save-summary %noun - =; summary - !>(`[tlon-api-key mailchimp-api-key src.bowl summary]) - ?@ -.summary.u.result - summary.u.result - [%hark summary.u.result] + !>(`[tlon-api-key mailchimp-api-key src.bowl summary.u.result]) == == == diff --git a/desk/ted/save-summary.hoon b/desk/ted/save-summary.hoon index e7cdaa4..7c8cd4a 100644 --- a/desk/ted/save-summary.hoon +++ b/desk/ted/save-summary.hoon @@ -17,8 +17,7 @@ =ship :: $= summary - $% [%hark =carpet:hark] - [%life [sen=@ud rec=@ud gro=@t] [dms=@ud etc=@ud group=@t chat=@t]] + $% [%life [sen=@ud rec=@ud gro=@t] [dms=@ud etc=@ud group=@t chat=@t]] == == =/ args !<([~ arg-mold] arg)