Skip to content

Commit

Permalink
release-196 - fix code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
vietle-cgi committed Oct 13, 2023
1 parent e9c2d31 commit 6d611da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/components/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ async function getChangeActionDetails(changeActionId, changeDetailEntity, change
let retVal = [];
details?.forEach(el => {
let data = new MappableObjectForFront(el, changeDetailMapper).toJSON();
let joinData = undefined;
let joinData;
if (joiningTable) {
joinData = new MappableObjectForFront(el[joiningTable], joiningTableMapping).toJSON();
}
Expand Down

0 comments on commit 6d611da

Please sign in to comment.