fix: accept successful sentinel health payloads
This commit is contained in:
@@ -1501,7 +1501,7 @@ function callSentinelService(state: SentinelCicdState, method: "GET" | "POST", p
|
||||
}
|
||||
|
||||
function isSentinelServiceResponseContract(value: Record<string, unknown>): boolean {
|
||||
return value.ok === false
|
||||
return typeof value.ok === "boolean"
|
||||
|| typeof value.view === "string"
|
||||
|| typeof value.renderedText === "string"
|
||||
|| typeof value.error === "string"
|
||||
|
||||
Reference in New Issue
Block a user