Fix output type for request tools - get, put, post, and delete
This commit is contained in:
parent
141c49013a
commit
aca52f5223
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue