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 4d9e7e5 commit 3da4d0aCopy full SHA for 3da4d0a
scripts/init.sh
@@ -8,8 +8,8 @@ if ! command -v jq >/dev/null; then
8
fi
9
10
function get_token {
11
- local response=$(curl --retry 5 -X POST -H "Content-Type: application/json" -d '{"email": "'"$ADMIN_EMAIL"'", "password": "'"$ADMIN_PASSWORD"'"}' $DIRECTUS_URL/auth/login)
12
- echo "$token"
+ local res=$(curl --retry 5 -X POST -H "Content-Type: application/json" -d '{"email": "'"$ADMIN_EMAIL"'", "password": "'"$ADMIN_PASSWORD"'"}' $DIRECTUS_URL/auth/login)
+ echo "$res"
13
}
14
15
if [ "$1" = "development" ]; then
0 commit comments