We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aed09c commit 39d225bCopy full SHA for 39d225b
firestore/extend-with-functions/functions/index.js
@@ -115,7 +115,7 @@ function writingData() {
115
116
// We'll only update if the name has changed.
117
// This is crucial to prevent infinite loops.
118
- if (data.name == previousData.name) return;
+ if (data.name == previousData.name) return null;
119
120
// Retrieve the current count of name changes
121
let count = data.name_change_count;
0 commit comments