diff --git a/desk/ted/mailchimp/update-merge-fields.hoon b/desk/ted/mailchimp/update-merge-fields.hoon index e68ab9cb..643b8513 100644 --- a/desk/ted/mailchimp/update-merge-fields.hoon +++ b/desk/ted/mailchimp/update-merge-fields.hoon @@ -5,7 +5,8 @@ :: :: > -bark!mailchimp-update-merge-fields 'apikey' 'list-id' 'sampel@example.com' fields :: where fields is a (map cord json) -:: and the list-id is most easily discovered through the /lists api +:: and the list-id is most easily discovered through the /lists api: +:: curl -X GET 'https://us14.api.mailchimp.com/3.0/lists?count=99&offset=0' --user "anystring:${apikey}" :: /- spider /+ *strandio @@ -26,7 +27,7 @@ :: ^= body %- some - %- as-octt:mimes:html + %- as-octs:mimes:html %- en:json:html %- pairs:enjs:format ['merge_fields' o+vars]~ diff --git a/desk/ted/save-summary.hoon b/desk/ted/save-summary.hoon index 4d2022a2..675301e2 100644 --- a/desk/ted/save-summary.hoon +++ b/desk/ted/save-summary.hoon @@ -63,5 +63,5 @@ :: =/ [%khan %arow %.y %noun vs=vase] simp =+ !<([gud=? msg=@t] vs) -?. gud ~|(msg !!) +?. gud ~|([ship=ship.args mail=u.mail msg] !!) (pure:m !>(msg))