Skip to content
Snippets Groups Projects
Commit f33b2ed0 authored by Lee WooChang's avatar Lee WooChang
Browse files

fix: pcId 변수명 오타 수정

parent a51121a6
Branches
No related tags found
1 merge request!15변수명 오타 수정
Pipeline #10792 failed
......@@ -25,7 +25,7 @@ myRouter.patch(
'/pc/:combinationId/name',
authMiddleware,
wrapAsync(async (req, res) => {
const { pcId } = req.params;
const { combinationId } = req.params;
const { newName } = req.body;
const userId = req.user.id;
......@@ -33,7 +33,7 @@ myRouter.patch(
throw new ReportableError(400, '유효한 새로운 이름이 필요합니다.');
}
const result = await myService.updateCombinationName(userId, pcId, newName);
const result = await myService.updateCombinationName(userId, combinationId, newName);
return res.status(200).json(result);
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment