@notionhq/client 2.1.1 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/package.json +1 -1
- package/build/src/api-endpoints.d.ts +397 -107
- package/build/src/api-endpoints.d.ts.map +1 -1
- package/build/src/api-endpoints.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -196,7 +196,7 @@ Here is an example of using a type guard:
|
|
|
196
196
|
const fullOrPartialPages = await notion.databases.query({
|
|
197
197
|
database_id: "897e5a76-ae52-4b48-9fdf-e71f5945d1af",
|
|
198
198
|
})
|
|
199
|
-
for (const page of fullOrPartialPages) {
|
|
199
|
+
for (const page of fullOrPartialPages.results) {
|
|
200
200
|
if (!isFullPage(page)) {
|
|
201
201
|
continue
|
|
202
202
|
}
|