gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] 02/03: -fix product ID in patch operation


From: gnunet
Subject: [taler-merchant] 02/03: -fix product ID in patch operation
Date: Wed, 21 Apr 2021 01:01:50 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

commit 0b9a2ab6993b528dd5dab0beac9ec5c49d101bb9
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Apr 21 00:23:25 2021 +0200

    -fix product ID in patch operation
---
 src/testing/test_merchant_product_creation.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/testing/test_merchant_product_creation.sh 
b/src/testing/test_merchant_product_creation.sh
index defbcb37..e089dcb8 100755
--- a/src/testing/test_merchant_product_creation.sh
+++ b/src/testing/test_merchant_product_creation.sh
@@ -147,7 +147,7 @@ echo -n "Updating product..."
 
 PRODUCT_DATA=$(echo $MANAGED_PRODUCT_TEMPLATE | jq 'del(.product_id) | . + 
{"total_stock": (.total_stock + 2) }')
 
-STATUS=$(curl 'http://localhost:9966/instances/default/private/products/2' -X 
PATCH \
+STATUS=$(curl 'http://localhost:9966/instances/default/private/products/3' -X 
PATCH \
     -d "$PRODUCT_DATA" \
     -w "%{http_code}" -s -o $LAST_RESPONSE)
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]