Skip to content

Commit

Permalink
fix sonar code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
juacompe committed Aug 30, 2023
1 parent 86d1c00 commit 27ac2c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/models/PaymentInformation.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export default class PaymentInformation {

this.id = data._id;
this.companySlug = data.companySlug;
this.fromCompany = Object.assign({}, data.fromCompany);
this.targetCompany = Object.assign({}, data.targetCompany);
this.fromCompany = { ...data.fromCompany };
this.targetCompany = { ...data.targetCompany };
this.projectName = data.projectName;
this.remark = data.remark;
this.currency = data.currency;
Expand Down

0 comments on commit 27ac2c3

Please sign in to comment.