diff --git a/scripts/src/hwlab-node-web-sentinel-p5.ts b/scripts/src/hwlab-node-web-sentinel-p5.ts index 796de27f..235698d1 100644 --- a/scripts/src/hwlab-node-web-sentinel-p5.ts +++ b/scripts/src/hwlab-node-web-sentinel-p5.ts @@ -1501,7 +1501,7 @@ function callSentinelService(state: SentinelCicdState, method: "GET" | "POST", p } function isSentinelServiceResponseContract(value: Record): boolean { - return value.ok === false + return typeof value.ok === "boolean" || typeof value.view === "string" || typeof value.renderedText === "string" || typeof value.error === "string"