fix: http tool response (#3097)

This commit is contained in:
Archer
2024-11-08 11:56:18 +08:00
committed by GitHub
parent 3e5d7d0d7a
commit 7a933f73b6

View File

@@ -237,7 +237,9 @@ export const dispatchHttp468Request = async (props: HttpRequestProps): Promise<H
node.outputs
.filter(
(item) =>
item.key !== NodeOutputKeyEnum.error && item.key !== NodeOutputKeyEnum.httpRawResponse
item.id !== NodeOutputKeyEnum.error &&
item.id !== NodeOutputKeyEnum.httpRawResponse &&
item.id !== NodeOutputKeyEnum.addOutputParam
)
.forEach((item) => {
const key = item.key.startsWith('$') ? item.key : `$.${item.key}`;