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,
},