Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Jadavpadma authored Jun 25, 2024
1 parent b9e2c18 commit 612e399
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ customer_response=$(curl -s --location --request POST 'https://api.finicity.com/
--header 'Accept: application/json' \
--header 'Finicity-App-Key:'$3 \
--header 'Finicity-App-Token:'$token \
--data-raw '{ "username": "customerusername_'$RANDOM$RANDOM'" }')
--data-raw '{ "username": "customerusername_'$RANDOM$RANDOM'" , "email": '$RANDOM'"@testDomain.com"}')

# {"id":"5026948632","username":"customerusername1","createdDate":"1649244189"}
if [[ "$customer_response" != *"username"* ]]; then
Expand Down Expand Up @@ -122,4 +122,4 @@ echo "cd open-banking-us-postman"
echo "npx newman run openbanking-us.postman_collection.json --env-var partnerId="$1" --env-var partnerSecret="$2" --env-var appKey="$3" --env-var customerId="$customer_id" --folder 'All APIs'"
echo ""

enter_to_exit
enter_to_exit

0 comments on commit 612e399

Please sign in to comment.