use full http lib + remove all http crate dependency
This commit is contained in:
@@ -22,7 +22,7 @@ do
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$(cat response.txt | jq -r '.error')" != "invalid credentials" ]
|
||||
if [ "$(cat response.txt | jq -r '.error')" != "url forbidden" ]
|
||||
then
|
||||
echo "bad data returned, expect : invalid credentials"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user