Skip to content

Commit

Permalink
feat: clean up PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Milena-Czierlinski committed Oct 21, 2024
1 parent 7af1f3e commit 64d1a38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,6 @@ export class AttributesController extends ConsumptionBaseController {
content: parsedSuccessorParams.content,
succeeds: predecessorId,
shareInfo: parsedSuccessorParams.shareInfo,
// TODO: remove parentId or add isDefault (maybe also in other places)
parentId: parsedSuccessorParams.parentId,
createdAt: parsedSuccessorParams.createdAt,
succeededBy: parsedSuccessorParams.succeededBy
Expand Down Expand Up @@ -910,8 +909,7 @@ export class AttributesController extends ConsumptionBaseController {
succeeds: parsedSuccessorParams.succeeds,
succeededBy: parsedSuccessorParams.succeededBy,
shareInfo: parsedSuccessorParams.shareInfo,
parentId: parsedSuccessorParams.parentId,
isDefault: parsedSuccessorParams.isDefault
parentId: parsedSuccessorParams.parentId
});

if (!predecessor.isThirdPartyRelationshipAttribute()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ export class AttributeSuccessorParams extends Serializable implements IAttribute
@serialize()
public parentId?: CoreId;

@validate({ nullable: true })
@serialize()
public isDefault?: true;

public static from(value: IAttributeSuccessorParams | AttributeSuccessorParamsJSON): AttributeSuccessorParams {
return this.fromAny(value);
}
Expand Down

0 comments on commit 64d1a38

Please sign in to comment.