Skip to content

Commit 48b4c33

Browse files
FrancescoMolinaroAndrea Barbasso
authored andcommitted
Merged in task/dspace-cris-2023_02_x/DSC-2609-fix (pull request DSpace#4752)
[DSC-2609] remove unwanted return statement in getSchema method Approved-by: Andrea Barbasso
2 parents c5097b8 + ee4d6d9 commit 48b4c33

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)