Skip to content

Commit

Permalink
bark: small tweaks to threads
Browse files Browse the repository at this point in the history
The json serialization logic hadn't been updated correctly. We leave a
better comment for easier reference. And we want more details to look at
in the case something errors out.
  • Loading branch information
Fang- committed Oct 4, 2023
1 parent f254e9c commit 7bd7e4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions desk/ted/mailchimp/update-merge-fields.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
::
:: > -bark!mailchimp-update-merge-fields 'apikey' 'list-id' '[email protected]' 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
Expand All @@ -26,7 +27,7 @@
::
^= body
%- some
%- as-octt:mimes:html
%- as-octs:mimes:html
%- en:json:html
%- pairs:enjs:format
['merge_fields' o+vars]~
Expand Down
2 changes: 1 addition & 1 deletion desk/ted/save-summary.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit 7bd7e4f

Please sign in to comment.