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 a8311ad commit 5867388Copy full SHA for 5867388
firestore/main/index.js
@@ -304,7 +304,7 @@ function updateServerTimestamp(db) {
304
function updateDeleteField(db) {
305
// [START update_delete_field]
306
// Get the `FieldValue` object
307
- var FieldValue = require("firebase-admin").FieldValue;
+ var FieldValue = require("firebase-admin").firestore.FieldValue;
308
309
// Create a document reference
310
var cityRef = db.collection('cities').doc('BJ');
0 commit comments