Skip to content

Commit

Permalink
Merge branch 'main' into automatically-processed-requests
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Sep 25, 2024
2 parents dc6ee79 + 0c84d77 commit 77ccbbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class RelationshipMapper {
template: RelationshipTemplateMapper.toRelationshipTemplateDTO(relationship.cache.template),
status: relationship.status,
peer: relationship.peer.address.toString(),
peerDeletionInfo: relationship.peerDeletionInfo,
peerDeletionInfo: relationship.peerDeletionInfo?.toJSON(),
peerIdentity: {
address: relationship.peer.address.toString(),
publicKey: relationship.peer.publicKey.toBase64(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ export class PeerDeletionInfo extends Serializable implements IPeerDeletionInfo
public static from(value: IPeerDeletionInfo | PeerDeletionInfoJSON): PeerDeletionInfo {
return this.fromAny(value);
}

public override toJSON(): PeerDeletionInfoJSON {
return super.toJSON() as PeerDeletionInfoJSON;
}
}

0 comments on commit 77ccbbf

Please sign in to comment.