This commit is contained in:
Kenneth Jannette
2024-03-07 15:37:05 -06:00
parent 51ce38435b
commit 99735fe71b
2 changed files with 5 additions and 1 deletions

View File

@@ -458,6 +458,10 @@ const DocEditPage = () => {
}
async function updateRespGenerationCount(docId) {
console.log("updaeeResponseGenerationCount fired");
if (!docId) {
return;
}
await updateDoc(doc(db, "documents", docId), {
responseGenerations: increment(1),
});