|
|
|
@ -1950,7 +1950,7 @@ exports.updateInstallationId = async (req, reply) => {
|
|
|
|
const { _id } = req.params;
|
|
|
|
const { _id } = req.params;
|
|
|
|
const { installationId } = req.body;
|
|
|
|
const { installationId } = req.body;
|
|
|
|
|
|
|
|
|
|
|
|
if (!orderId || !installationId) {
|
|
|
|
if (!_id || !installationId) {
|
|
|
|
return reply.status(400).send({ error: "orderId and installationId are required" });
|
|
|
|
return reply.status(400).send({ error: "orderId and installationId are required" });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|