mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 12:31:52 +03:00
f83a8e591f
Rename the admin secret key header used to access GraphQL engine from X-Hasura-Access-Key to X-Hasura-Admin-Secret. Server CLI and console all support the older flag but marks it as deprecated.
7 lines
292 B
Bash
Executable File
7 lines
292 B
Bash
Executable File
#!/bin/bash
|
|
if [ -z "$TEST_HGE_URL" ] && [ -z "$TEST_X_HASURA_ADMIN_SECRET" ]; then
|
|
echo "ERROR: Please run the test command with the environment variable TEST_HGE_URL"
|
|
else
|
|
../bin/run $TEST_HGE_URL --admin-secret=$TEST_X_HASURA_ADMIN_SECRET --db=./db.js --overwrite && node verify.js
|
|
fi
|