@ -1240,7 +1240,7 @@ exports.updateSensorQC = async (req, reply) => {
const { _id } = req.params;
let updateData = req.body;
const allowedFields = ["qccheck", "qcby", "comment","status"];
const allowedFields = ["qccheck", "qcby", "comments","status"];
// Filter only allowed fields
const filteredUpdateData = Object.keys(updateData)
@ -1180,7 +1180,7 @@ fastify.post("/api/updateSensorQC/:_id", {
properties: {
qccheck: { type: "string", description: "QC check status" },
qcby: { type: "string", description: "QC checked by" },
comment: { type: "string", description: "QC comment" },
comments: { type: "string", description: "QC comment" },
status: { type: "string" },
},