mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 07:01:07 +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.category = 'Tools'
|
||||
this.description = 'Execute HTTP DELETE requests'
|
||||
this.baseClasses = [this.type, ...getBaseClasses(RequestsDeleteTool)]
|
||||
this.baseClasses = [this.type, ...getBaseClasses(RequestsDeleteTool), 'Tool']
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'URL',
|
||||
|
||||
@@ -35,7 +35,7 @@ class RequestsGet_Tools implements INode {
|
||||
this.icon = 'get.png'
|
||||
this.category = 'Tools'
|
||||
this.description = 'Execute HTTP GET requests'
|
||||
this.baseClasses = [this.type, ...getBaseClasses(RequestsGetTool)]
|
||||
this.baseClasses = [this.type, ...getBaseClasses(RequestsGetTool), 'Tool']
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'URL',
|
||||
|
||||
@@ -33,7 +33,7 @@ class RequestsPost_Tools implements INode {
|
||||
this.icon = 'post.png'
|
||||
this.category = 'Tools'
|
||||
this.description = 'Execute HTTP POST requests'
|
||||
this.baseClasses = [this.type, ...getBaseClasses(RequestsPostTool)]
|
||||
this.baseClasses = [this.type, ...getBaseClasses(RequestsPostTool), 'Tool']
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'URL',
|
||||
|
||||
@@ -33,7 +33,7 @@ class RequestsPut_Tools implements INode {
|
||||
this.icon = 'put.png'
|
||||
this.category = 'Tools'
|
||||
this.description = 'Execute HTTP PUT requests'
|
||||
this.baseClasses = [this.type, ...getBaseClasses(RequestsPutTool)]
|
||||
this.baseClasses = [this.type, ...getBaseClasses(RequestsPutTool), 'Tool']
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'URL',
|
||||
|
||||
Reference in New Issue
Block a user