remove incubationtime and add retest
This commit is contained in:
@@ -274,7 +274,8 @@ exports.retestMarking = async (event, context) => {
|
|||||||
docs?.forEach(async (doc) => {
|
docs?.forEach(async (doc) => {
|
||||||
await admin.firestore().collection("patientData").doc(doc.id).update({
|
await admin.firestore().collection("patientData").doc(doc.id).update({
|
||||||
testStatus: false,
|
testStatus: false,
|
||||||
incubationTime: admin.firestore.FieldValue.delete()
|
retested: true
|
||||||
|
// incubationTime: admin.firestore.FieldValue.delete()
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user