mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
renamed opeation
This commit is contained in:
parent
1b111d4aba
commit
c91bc56792
|
@ -34,8 +34,8 @@ export const companyOpeations = [
|
|||
description: 'List companies',
|
||||
},
|
||||
{
|
||||
name: 'Company Users',
|
||||
value: 'companyUsers',
|
||||
name: 'Users',
|
||||
value: 'users',
|
||||
description: `List company's users`,
|
||||
},
|
||||
],
|
||||
|
@ -47,7 +47,7 @@ export const companyOpeations = [
|
|||
export const companyFields = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* company:companyUsers */
|
||||
/* company:users */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
{
|
||||
|
@ -60,7 +60,7 @@ export const companyFields = [
|
|||
'company',
|
||||
],
|
||||
operation: [
|
||||
'companyUsers',
|
||||
'users',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@ -93,7 +93,7 @@ export const companyFields = [
|
|||
'company',
|
||||
],
|
||||
operation: [
|
||||
'companyUsers',
|
||||
'users',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
|
|
@ -508,7 +508,7 @@ export class Intercom implements INodeType {
|
|||
throw new Error(`Intercom Error: ${JSON.stringify(err)}`);
|
||||
}
|
||||
}
|
||||
if (operation === 'companyUsers') {
|
||||
if (operation === 'users') {
|
||||
let query = '';
|
||||
const listBy = this.getNodeParameter('listBy', 0) as string;
|
||||
const value = this.getNodeParameter('value', i) as string;
|
||||
|
|
Loading…
Reference in a new issue