Skip to content

Commit ee4d6d9

Browse files
[DSC-2609] remove unwanted return statement in getSchema method
1 parent c5097b8 commit ee4d6d9

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/app/core/metadata/schema-json-ld/schema-types/schema-type.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ export abstract class SchemaType {
6363

6464

6565
getSchema(item: Item): Record<string, any> {
66-
return SchemaType.removeEmpty(this.createSchema(item));
6766
const sanitizedRaw = this.sanitizeSchema(this.createSchema(item));
6867
return SchemaType.removeEmpty(sanitizedRaw);
6968
}

0 commit comments

Comments
 (0)