Fix BMS endpoint and auth issues
This commit is contained in:
3
scripts/bms-accounts.sh
Executable file → Normal file
3
scripts/bms-accounts.sh
Executable file → Normal file
@@ -1,4 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
# Get token from bms-auth.sh
|
||||
if ! token=$(bash "${SCRIPT_DIR}/bms-auth.sh" get-token 2>/dev/null); then
|
||||
|
||||
Reference in New Issue
Block a user