From 98b719adab6c25a9ee3b983aae617394115139bc Mon Sep 17 00:00:00 2001 From: Yuli Date: Mon, 5 Aug 2024 15:54:21 +0300 Subject: [PATCH] using DEMO token --- create-test-user.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/create-test-user.sh b/create-test-user.sh index 4243727..096923c 100755 --- a/create-test-user.sh +++ b/create-test-user.sh @@ -2,10 +2,9 @@ XTOKEN=$1 if [ -z $XTOKEN ]; then - echo "missing api key parameter" - exit + echo "The API token is missing, assuming the DEMO API token" + XTOKEN="DEMO" fi - DATABUNKER="http://localhost:3000" RESULT=`curl -s $DATABUNKER/v1/pactivity/share-data-with-sms-provider -XPOST \