diff --git a/scripts/run-phase22-verification.sh b/scripts/run-phase22-verification.sh index e62e8be..bbba034 100755 --- a/scripts/run-phase22-verification.sh +++ b/scripts/run-phase22-verification.sh @@ -18,7 +18,7 @@ echo "==> Stop central API to buffer events on gateway" # Stop only central API process/container — gateway stack stays up ENCOUNTER_ID=$(curl -sf "$GATEWAY/api/v1/encounters?status=ACTIVE&department=ICU" \ - -H "Authorization: Bearer ${GATEWAY_JWT:?Set GATEWAY_JWT}" | jq -r '.data.items[0].id') + -H "Authorization: Bearer ${GATEWAY_JWT:?Set GATEWAY_JWT}" | jq -r '.data.items[0].encounterId') echo "==> Post observations to gateway while central down" for i in $(seq 1 10); do