Refactor reource names to match endpoint

This commit is contained in:
trojanh
2020-01-31 19:13:40 +05:30
parent 9ff78410ef
commit 1759f6ce98
9 changed files with 97 additions and 169 deletions

View File

@@ -1,5 +1,7 @@
import { INodeProperties } from "n8n-workflow";
const resource = [ 'companies' ];
export const companyOperations = [
{
displayName: 'Operation',
@@ -7,9 +9,7 @@ export const companyOperations = [
type: 'options',
displayOptions: {
show: {
resource: [
'company',
],
resource,
},
},
options: [