Skip to content

Commit 5c3ec3c

Browse files
committed
added comments to reflect projectManagerId/projectLeadId and ensured all places correctly use Id
1 parent 15a3d4b commit 5c3ec3c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/backend/src/controllers/work-packages.controllers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default class WorkPackagesController {
7272
blockedBy,
7373
expectedActivities,
7474
deliverables,
75-
projectLead,
75+
projectLeadId,
7676
projectManagerId
7777
} = req.body;
7878

@@ -94,7 +94,7 @@ export default class WorkPackagesController {
9494
blockedBy,
9595
expectedActivities,
9696
deliverables,
97-
projectLead,
97+
projectLeadId,
9898
projectManagerId
9999
);
100100
return res.status(200).json({ message: 'Work package updated successfully' });

src/backend/src/services/work-packages.services.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ export default class WorkPackagesService {
267267
* @param blockedBy the new WBS elements to be completed before this WP
268268
* @param expectedActivities the new expected activities descriptions for this WP
269269
* @param deliverables the new expected deliverables descriptions for this WP
270-
* @param projectLead the new lead for this work package
271-
* @param projectManager the new manager for this work package
270+
* @param projectLeadId the new lead for this work package
271+
* @param projectManagerId the new manager for this work package
272272
*/
273273
static async editWorkPackage(
274274
user: User,

0 commit comments

Comments
 (0)