From 7b53eae263151a55cca187c6a8d2312b41d04dd0 Mon Sep 17 00:00:00 2001 From: Varun Date: Thu, 6 Mar 2025 15:39:30 +0530 Subject: [PATCH] changes --- src/controllers/storeController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/storeController.js b/src/controllers/storeController.js index 93ca07a9..3212bbf8 100644 --- a/src/controllers/storeController.js +++ b/src/controllers/storeController.js @@ -1950,7 +1950,7 @@ exports.updateInstallationId = async (req, reply) => { const { _id } = req.params; const { installationId } = req.body; - if (!orderId || !installationId) { + if (!_id || !installationId) { return reply.status(400).send({ error: "orderId and installationId are required" }); }