ipfs pin rm ${EMAILZ}

This commit is contained in:
fred 2024-03-25 01:27:54 +01:00
parent 1ae58895f3
commit d6d4e55689
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ rm -f ~/.zen/tmp/email.txt
EMAILZ=$(ipfs add -q ~/.zen/tmp/email.txt)
echo "/ipfs/${EMAILZ}"
ipfs pin rm ${EMAILZ}
export TEXTPART="$(myIpfsGw)/ipfs/${EMAILZ}"
@ -114,6 +115,7 @@ curl -s \
-H 'Content-Type: application/json' \
-d "$json_payload"
# This call sends an email to one recipient.
#~ TEXTPART=$(cat ~/.zen/tmp/email.txt | sed ':a;N;$!ba;s/\n/\\n/g' | tr '"' '\\\"')
#~ HTMLPART=$(cat ~/.zen/tmp/email.txt | sed ':a;N;$!ba;s/\n/<br>/g' | tr '"' '\\\"')