diff --git a/libs/common/src/models/view/send.view.ts b/libs/common/src/models/view/send.view.ts index c5da1d2f68..18846a4f1f 100644 --- a/libs/common/src/models/view/send.view.ts +++ b/libs/common/src/models/view/send.view.ts @@ -68,9 +68,12 @@ export class SendView implements View { } toJSON() { - return Utils.merge(this, { - key: Utils.fromBufferToB64(this.key), - }); + return Utils.merge( + { ...this }, + { + key: Utils.fromBufferToB64(this.key), + } + ); } static fromJSON(json: DeepJsonify) {