master^2
Varun 7 months ago
parent 9b77ef5728
commit b34e475982

@ -1609,7 +1609,7 @@ fastify.get("/api/getSingleQuotationData/:quotationId", {
}); });
fastify.put("/api/updateInstallationId/:orderId", { fastify.put("/api/updateInstallationId/:_id", {
schema: { schema: {
tags: ["Install"], tags: ["Install"],
description: "Update the installationId of an order", description: "Update the installationId of an order",
@ -1617,12 +1617,12 @@ fastify.put("/api/updateInstallationId/:orderId", {
params: { params: {
type: "object", type: "object",
properties: { properties: {
orderId: { _id: {
type: "string", type: "string",
description: "Order ID", description: "_id",
}, },
}, },
required: ["orderId"], required: ["_id"],
}, },
body: { body: {
type: "object", type: "object",

Loading…
Cancel
Save