Fix operation name for update

This commit is contained in:
trojanh 2020-02-03 15:24:21 +05:30
parent 41b1245610
commit aceccf01d3
2 changed files with 34 additions and 3 deletions

View file

@ -338,6 +338,22 @@ export const invoiceFields = [
/* -------------------------------------------------------------------------- */
/* invoice:update */
/* -------------------------------------------------------------------------- */
{
displayName: 'Invoice Id',
name: 'id',
type: 'string',
default: '',
required: true,
displayOptions: {
show: {
operation: [
'update',
],
resource,
},
},
description: 'The ID of the invoice want to update.',
},
{
displayName: 'Update Fields',
name: 'updateFields',
@ -346,7 +362,7 @@ export const invoiceFields = [
displayOptions: {
show: {
operation: [
'create',
'update',
],
resource,
},

View file

@ -381,7 +381,22 @@ export const projectFields = [
/* -------------------------------------------------------------------------- */
/* project:update */
/* -------------------------------------------------------------------------- */
{
displayName: 'Project Id',
name: 'id',
type: 'string',
default: '',
required: true,
displayOptions: {
show: {
operation: [
'update',
],
resource,
},
},
description: 'The ID of the project want to update.',
},
{
displayName: 'Update Fields',
name: 'updateFields',
@ -390,7 +405,7 @@ export const projectFields = [
displayOptions: {
show: {
operation: [
'create',
'update',
],
resource,
},