From c08e67beafb5d8883729caaab29002a4e06f686f Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Mon, 6 Jun 2022 20:28:17 -0800 Subject: [PATCH 1/2] Update README.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e426c8888..a90c2003e 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,10 @@ async function quickstart() { body: 'Hello World', }); console.log('Entered new data into the document'); + + // Read the document the 1st time. + doc = await document.get(); + console.log('Read the document 1st time', doc); // Update an existing document. await document.update({ @@ -86,9 +90,9 @@ async function quickstart() { }); console.log('Updated an existing document'); - // Read the document. - const doc = await document.get(); - console.log('Read the document'); + // Read the document the 2nd time to show the diff. + doc = await document.get(); + console.log('Read the document 2nd time', doc); // Delete the document. await document.delete(); From 473eda1658e5cdf187710636a995dfe8e5433d77 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 14 Nov 2023 17:32:13 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e619280c4..87ca81d88 100644 --- a/README.md +++ b/README.md @@ -79,10 +79,6 @@ async function quickstart() { body: 'Hello World', }); console.log('Entered new data into the document'); - - // Read the document the 1st time. - doc = await document.get(); - console.log('Read the document 1st time', doc); // Update an existing document. await document.update({ @@ -90,9 +86,9 @@ async function quickstart() { }); console.log('Updated an existing document'); - // Read the document the 2nd time to show the diff. - doc = await document.get(); - console.log('Read the document 2nd time', doc); + // Read the document. + const doc = await document.get(); + console.log('Read the document'); // Delete the document. await document.delete();