using DEMO token

This commit is contained in:
Yuli
2024-08-05 15:54:21 +03:00
parent 09f9cc2366
commit 98b719adab

View File

@@ -2,10 +2,9 @@
XTOKEN=$1 XTOKEN=$1
if [ -z $XTOKEN ]; then if [ -z $XTOKEN ]; then
echo "missing api key parameter" echo "The API token is missing, assuming the DEMO API token"
exit XTOKEN="DEMO"
fi fi
DATABUNKER="http://localhost:3000" DATABUNKER="http://localhost:3000"
RESULT=`curl -s $DATABUNKER/v1/pactivity/share-data-with-sms-provider -XPOST \ RESULT=`curl -s $DATABUNKER/v1/pactivity/share-data-with-sms-provider -XPOST \