File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
firestore/src/main/java/com/example/firestore/snippets Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public CollectionReference getACollectionRef() {
4949 */
5050 public DocumentReference getADocumentRef () {
5151 // [START fs_document_ref]
52- // Reference to a document with id "alovelace" in the collection "employees "
52+ // Reference to a document with id "alovelace" in the collection "users "
5353 DocumentReference document = db .collection ("users" ).document ("alovelace" );
5454 // [END fs_document_ref]
5555 return document ;
@@ -62,7 +62,7 @@ public DocumentReference getADocumentRef() {
6262 */
6363 public DocumentReference getADocumentRefUsingPath () {
6464 // [START fs_document_path_ref]
65- // Reference to a document with id "alovelace" in the collection "employees "
65+ // Reference to a document with id "alovelace" in the collection "users "
6666 DocumentReference document = db .document ("users/alovelace" );
6767 // [END fs_document_path_ref]
6868 return document ;
You can’t perform that action at this time.
0 commit comments