Skip to content

Commit f9ff004

Browse files
author
Sergei Orlov
committed
🐛 Remove redundant argument
1 parent b2edac0 commit f9ff004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/notion-api/get-pages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports.getPages = async ({ token, databaseId, notionVersion = "2021-05-13" }, r
1717
}).then((res) => res.json())
1818

1919
for (let page of db.results) {
20-
page.children = await getBlocks({ id: page.id, block: page, token, notionVersion }, reporter)
20+
page.children = await getBlocks({ id: page.id, token, notionVersion }, reporter)
2121
}
2222

2323
return db.results

0 commit comments

Comments
 (0)