Skip to content

Commit 607f655

Browse files
author
Vikas Agarwal
committed
lint fix
1 parent e177b7e commit 607f655

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/routes/projectReports/mock.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ module.exports = (projectId, reportName, req, res) => {
1414
res.status(200).json(util.wrapResponse(req.id, summaryJson));
1515
break;
1616
case 'projectBudget':
17-
projectBudgetJson = _.map(projectBudgetJson, pb => _.assign(pb, { 'project_stream.tc_connect_project_id': projectId }));
17+
const augmentProjectId = pb => _.assign(pb, { 'project_stream.tc_connect_project_id': projectId })
18+
projectBudgetJson = _.map(projectBudgetJson, augmentProjectId);
1819
res.status(200).json(util.wrapResponse(req.id, projectBudgetJson));
1920
break;
2021
default:

0 commit comments

Comments
 (0)