mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
Fix output type for request tools - get, put, post, and delete (#5044)
This commit is contained in:
@@ -35,7 +35,7 @@ class RequestsDelete_Tools implements INode {
|
|||||||
this.icon = 'del.png'
|
this.icon = 'del.png'
|
||||||
this.category = 'Tools'
|
this.category = 'Tools'
|
||||||
this.description = 'Execute HTTP DELETE requests'
|
this.description = 'Execute HTTP DELETE requests'
|
||||||
this.baseClasses = [this.type, ...getBaseClasses(RequestsDeleteTool)]
|
this.baseClasses = [this.type, ...getBaseClasses(RequestsDeleteTool), 'Tool']
|
||||||
this.inputs = [
|
this.inputs = [
|
||||||
{
|
{
|
||||||
label: 'URL',
|
label: 'URL',
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class RequestsGet_Tools implements INode {
|
|||||||
this.icon = 'get.png'
|
this.icon = 'get.png'
|
||||||
this.category = 'Tools'
|
this.category = 'Tools'
|
||||||
this.description = 'Execute HTTP GET requests'
|
this.description = 'Execute HTTP GET requests'
|
||||||
this.baseClasses = [this.type, ...getBaseClasses(RequestsGetTool)]
|
this.baseClasses = [this.type, ...getBaseClasses(RequestsGetTool), 'Tool']
|
||||||
this.inputs = [
|
this.inputs = [
|
||||||
{
|
{
|
||||||
label: 'URL',
|
label: 'URL',
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class RequestsPost_Tools implements INode {
|
|||||||
this.icon = 'post.png'
|
this.icon = 'post.png'
|
||||||
this.category = 'Tools'
|
this.category = 'Tools'
|
||||||
this.description = 'Execute HTTP POST requests'
|
this.description = 'Execute HTTP POST requests'
|
||||||
this.baseClasses = [this.type, ...getBaseClasses(RequestsPostTool)]
|
this.baseClasses = [this.type, ...getBaseClasses(RequestsPostTool), 'Tool']
|
||||||
this.inputs = [
|
this.inputs = [
|
||||||
{
|
{
|
||||||
label: 'URL',
|
label: 'URL',
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class RequestsPut_Tools implements INode {
|
|||||||
this.icon = 'put.png'
|
this.icon = 'put.png'
|
||||||
this.category = 'Tools'
|
this.category = 'Tools'
|
||||||
this.description = 'Execute HTTP PUT requests'
|
this.description = 'Execute HTTP PUT requests'
|
||||||
this.baseClasses = [this.type, ...getBaseClasses(RequestsPutTool)]
|
this.baseClasses = [this.type, ...getBaseClasses(RequestsPutTool), 'Tool']
|
||||||
this.inputs = [
|
this.inputs = [
|
||||||
{
|
{
|
||||||
label: 'URL',
|
label: 'URL',
|
||||||
|
|||||||
Reference in New Issue
Block a user