Fix output type for request tools - get, put, post, and delete

This commit is contained in:
Ilango Rajagopal 2025-08-08 12:31:53 +05:30
parent 141c49013a
commit aca52f5223
4 changed files with 4 additions and 4 deletions

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',