Fix BMS endpoint and auth issues

This commit is contained in:
Steve W
2026-04-07 19:50:24 +00:00
parent 4cfea24c7e
commit 0916a308b2
5 changed files with 18 additions and 13 deletions

3
scripts/bms-accounts.sh Executable file → Normal file
View 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