Skip to content

Commit 19e0b7d

Browse files
committed
Changed one more time to pass should-generate-JSON-schema-for-a-subdocument-property test
1 parent 83e9c9f commit 19e0b7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pods/toolbar/components/export-button/export-button.business.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export const getItemType = (field: FieldVm): string => {
155155
if (field.children && field.children.length > 0) {
156156
const properties = getPropertiesJsonSchema(field.children, false);
157157

158-
return `{ bsonType: "object", title: "${field.name}", properties: { ${properties}, }, } `;
158+
return `{ bsonType: "object", title: "${field.name}", properties: { ${properties}, }, }`;
159159

160160
// Perhaps to be changed for this later.
161161
//return `{ bsonType: "object", title: "${field.name}", required: [${getRequiredFields(field.children)}], properties: {${properties}} } `;

0 commit comments

Comments
 (0)