From b2ea79c885f3608a1d389645c001b42251813d30 Mon Sep 17 00:00:00 2001 From: Robin Leber <rleber98@gmail.com> Date: Tue, 11 Jun 2024 15:04:07 +0200 Subject: [PATCH] fix: naming --- src/routes/deployRouter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/deployRouter.js b/src/routes/deployRouter.js index d6a1516..afd3122 100644 --- a/src/routes/deployRouter.js +++ b/src/routes/deployRouter.js @@ -51,8 +51,8 @@ deployRouter.get("/clearArchitecture", async (req, res) => { deployRouter.post("/scaleOut", async (req, res) => { try { - const { codeId } = req.body; - await scaleOut(codeId); + const { id } = req.body; + await scaleOut(id); res.status(200).json({ message: "Scale Out erfolgreich" }); } catch (e) { console.error(e); -- GitLab