Commit 7c914a9c authored by nanahira's avatar nanahira

fix

parent b382b081
...@@ -15,10 +15,8 @@ appName="ygopro" ...@@ -15,10 +15,8 @@ appName="ygopro"
handleErrorMessage() { handleErrorMessage() {
rawJsonInput="$1" rawJsonInput="$1"
successInfo=$(echo "$rawJsonInput" | jq '.success') successInfo=$(echo "$rawJsonInput" | jq '.success')
statusCode=$(echo "$rawJsonInput" | jq '.statusCode')
if [[ "$successInfo" != "true" ]]; then if [[ "$successInfo" != "true" ]]; then
failMessage=$(echo "$rawJsonInput" | jq '.success')
echo "$rawJsonInput" echo "$rawJsonInput"
exit 1 exit 1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment