File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ echo ""
6868workspace_id=` cat $response | grep workspace_id | sed ' s/.*\"workspace_id\":\"//' | sed ' s/".*//' `
6969echo " Workspace created! ID: ${workspace_id} "
7070echo ${workspace_id} > config/WORKSPACE_ID
71+ echo ${workspace_name} > config/WORKSPACE_NAME
7172
7273rm " $response "
7374rm " $request_data "
Original file line number Diff line number Diff line change 99
1010# Check that a workspace exists
1111workspace_id=$( cat config/WORKSPACE_ID)
12+ workspace_name=$( cat config/WORKSPACE_NAME)
1213if [ -z " $workspace_id " ]; then
1314 echo " Please create a workspace before running this example"
1415 exit 0
@@ -115,7 +116,8 @@ echo ""
115116
116117# Pull out the document ID and save it
117118document_id=$( cat $response | grep document_id | sed ' s/.*"document_id":"//' | sed ' s/".*//' )
118- echo " Document added! ID: ${document_id} "
119+ echo " "
120+ echo " Document added to the workspace '${workspace_name} '! ID: ${document_id} "
119121echo ${document_id} > config/DOCUMENT_ID
120122
121123rm " $response "
You can’t perform that action at this time.
0 commit comments