Skip to content

Commit

Permalink
delete recordtypeid from response
Browse files Browse the repository at this point in the history
  • Loading branch information
charmingduchess committed Feb 28, 2025
1 parent dd6ec9e commit 18280b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/jsonld_serializers.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ class ResourceSerializer extends JsonLdItemSerializer {
if (this.body.formatId) {
stmts.format = ResourceSerializer.getFormattedFormat(this.body.formatId)
delete stmts.formatId
delete stmts.recordTypeId
}

// DFE depends on this being set to an empty array when null:
Expand Down

0 comments on commit 18280b4

Please sign in to comment.