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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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