mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(HTTP Request Node): Port optimizeResponse from httpRequest tool to standalone node (no-changelog) (#14307)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
import { optimizeResponseProperties } from '../shared/optimizeResponse';
|
||||
|
||||
export const mainProperties: INodeProperties[] = [
|
||||
{
|
||||
displayName: '',
|
||||
@@ -1167,6 +1169,13 @@ export const mainProperties: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
...optimizeResponseProperties.map((prop) => ({
|
||||
...prop,
|
||||
displayOptions: {
|
||||
...prop.displayOptions,
|
||||
show: { ...prop.displayOptions?.show, '@tool': [true] },
|
||||
},
|
||||
})),
|
||||
{
|
||||
displayName:
|
||||
"You can view the raw requests this node makes in your browser's developer console",
|
||||
|
||||
Reference in New Issue
Block a user