@@ -1,5 +1,5 @@
|
|||||||
import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
|
import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
|
||||||
import { proboApiRequest } from '../../GenericFunctions';
|
import { proboConnectApiRequest } from '../../GenericFunctions';
|
||||||
|
|
||||||
export const description: INodeProperties[] = [
|
export const description: INodeProperties[] = [
|
||||||
{
|
{
|
||||||
@@ -51,7 +51,7 @@ export async function execute(
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const responseData = await proboApiRequest.call(this, query, variables);
|
const responseData = await proboConnectApiRequest.call(this, query, variables);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
json: responseData,
|
json: responseData,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
|
import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
|
||||||
import { proboApiRequest } from '../../GenericFunctions';
|
import { proboConnectApiRequest } from '../../GenericFunctions';
|
||||||
|
|
||||||
export const description: INodeProperties[] = [
|
export const description: INodeProperties[] = [
|
||||||
{
|
{
|
||||||
@@ -32,7 +32,7 @@ export async function execute(
|
|||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const responseData = await proboApiRequest.call(this, query, { input: { organizationId } });
|
const responseData = await proboConnectApiRequest.call(this, query, { input: { organizationId } });
|
||||||
|
|
||||||
return {
|
return {
|
||||||
json: responseData,
|
json: responseData,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
|
import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
|
||||||
import { proboApiRequest } from '../../GenericFunctions';
|
import { proboConnectApiRequest } from '../../GenericFunctions';
|
||||||
|
|
||||||
export const description: INodeProperties[] = [
|
export const description: INodeProperties[] = [
|
||||||
{
|
{
|
||||||
@@ -47,7 +47,7 @@ export async function execute(
|
|||||||
organizationId,
|
organizationId,
|
||||||
};
|
};
|
||||||
|
|
||||||
const responseData = await proboApiRequest.call(this, query, variables);
|
const responseData = await proboConnectApiRequest.call(this, query, variables);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
json: responseData,
|
json: responseData,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
|
import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
|
||||||
import { proboApiRequest } from '../../GenericFunctions';
|
import { proboConnectApiRequest } from '../../GenericFunctions';
|
||||||
|
|
||||||
export const description: INodeProperties[] = [
|
export const description: INodeProperties[] = [
|
||||||
{
|
{
|
||||||
@@ -121,7 +121,7 @@ export async function execute(
|
|||||||
if (email) input.email = email;
|
if (email) input.email = email;
|
||||||
if (headquarterAddress) input.headquarterAddress = headquarterAddress;
|
if (headquarterAddress) input.headquarterAddress = headquarterAddress;
|
||||||
|
|
||||||
const responseData = await proboApiRequest.call(this, query, { input });
|
const responseData = await proboConnectApiRequest.call(this, query, { input });
|
||||||
|
|
||||||
return {
|
return {
|
||||||
json: responseData,
|
json: responseData,
|
||||||
|
|||||||
Reference in New Issue
Block a user