Automate API Circuit breaker (#3914)

* fix(automate): invokeSafeJsonRequest

* fix(automate): correct fallback values
This commit is contained in:
Chuck Driesler
2025-01-30 15:26:12 +00:00
committed by GitHub
parent a3d1e6adec
commit 4cbeeef0d0
4 changed files with 67 additions and 19 deletions
@@ -1171,6 +1171,14 @@ export = FF_WORKSPACES_MODULE_ENABLED
}
})
if (!res) {
return {
cursor: null,
totalCount: 0,
items: []
}
}
const items = res.functions.map(convertFunctionToGraphQLReturn)
return {