Skip to content

Commit

Permalink
Fix casing
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Sep 13, 2021
1 parent e31869e commit 06f9d1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _templates/make/resourceDescription/resourceDescription.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const <%= helper.camelCase(resourceName) %>Fields: INodeProperties[] = [
<%_ Object.entries(properties).forEach(([property, value]) => { _%>
{
displayName: '<%= helper.titleCase(property); %>',
name: '<%= property %>',
name: '<%= helper.camelCase(property) %>',
<%_ if (value.description) { _%>
description: '<%- helper.escape(value.description); %>',
<%_ } _%>
Expand Down Expand Up @@ -151,7 +151,7 @@ export const <%= helper.camelCase(resourceName) %>Fields: INodeProperties[] = [
<%_ } else if (!rbItem.required) { _%>
{
displayName: '<%= rbItem.name %>',
name: '<%= rbItem.name %>',
name: '<%= helper.camelCase(rbItem.name) %>',
type: 'collection',
placeholder: '<%= helper.getPlaceholder(rbItem.name); %>',
default: {},
Expand Down

0 comments on commit 06f9d1a

Please sign in to comment.