(#3169) - edit guide to changes Now that I understand `last_seq` better, I understand that it is not a footgun.
diff --git a/docs/_guides/changes.md b/docs/_guides/changes.md index 83d2ada..01a7fb3 100644 --- a/docs/_guides/changes.md +++ b/docs/_guides/changes.md
@@ -52,7 +52,7 @@ if (changes.results.length < pageSize) { // done! } else { - lastSeq = changes.results[changes.results.length - 1].seq; + lastSeq = changes.last_seq; return fetchNextPage(); } }); @@ -101,4 +101,4 @@ Next ----- -Now that we know how to hook our data spigot to the changes feed, let's look into using the very powerful `query()` API. \ No newline at end of file +Now that we know how to hook our data spigot to the changes feed, let's look into using the very powerful `query()` API.