Skip to content

Commit 37ee77a

Browse files
committed
Changed one more time to pass should-generate-JSON-schema-for-a-subdocument-property test
1 parent 083ca05 commit 37ee77a

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
@@ -162,7 +162,7 @@ export const getItemType = (field: FieldVm): string => {
162162
if (field.children && field.children.length > 0) {
163163
const properties = getPropertiesJsonSchema(field.children, false);
164164

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

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

0 commit comments

Comments
 (0)