Skip to content

Commit 7bde5d5

Browse files
committed
Update examples/eg011EmbeddedSending.sh
1 parent 57585e2 commit 7bde5d5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/eg011EmbeddedSending.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ done
4646
# The envelope has two recipients.
4747
# recipient 1 - signer
4848
# recipient 2 - cc
49+
#
50+
# The envelope is created with "created" (draft) status.
51+
#
4952
# The envelope will be sent first to the signer.
5053
# After it is signed, a copy is sent to the cc person.
5154

@@ -131,7 +134,7 @@ printf \
131134
}
132135
]
133136
},
134-
"status": "draft"
137+
"status": "created"
135138
}' >> $request_data
136139

137140
curl --header "Authorization: Bearer ${access_token}" \
@@ -165,7 +168,7 @@ sending_ceremony_url=`cat $response | grep url | sed 's/.*\"url\": \"//' | sed '
165168
# Next, we update the returned url if we want to start with the Recipient
166169
# and Documents view
167170
if [ "$starting_view" = "recipient" ]; then
168-
sending_ceremony_url=`printf "${sending_ceremony/send=1/send=0}"`
171+
sending_ceremony_url=`printf "${sending_ceremony_url/send=1/send=0}"`
169172
fi
170173

171174
echo ""

0 commit comments

Comments
 (0)