We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3da4d0a commit a01b40dCopy full SHA for a01b40d
scripts/init.sh
@@ -8,7 +8,7 @@ if ! command -v jq >/dev/null; then
8
fi
9
10
function get_token {
11
- local res=$(curl --retry 5 -X POST -H "Content-Type: application/json" -d '{"email": "'"$ADMIN_EMAIL"'", "password": "'"$ADMIN_PASSWORD"'"}' $DIRECTUS_URL/auth/login)
+ local res=$(curl --fail --retry 5 -X POST -H "Content-Type: application/json" -d '{"email": "'"$ADMIN_EMAIL"'", "password": "'"$ADMIN_PASSWORD"'"}' $DIRECTUS_URL/auth/login)
12
echo "$res"
13
}
14
0 commit comments