Skip to content

Commit 065ebfa

Browse files
committed
fix: make collectionView parameter optional
1 parent ab5554a commit 065ebfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/notion-client/src/notion-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ export class NotionAPI {
309309
public async getCollectionData(
310310
collectionId: string,
311311
collectionViewId: string,
312-
collectionView: any,
312+
collectionView?: any,
313313
{
314314
limit = 9999,
315315
searchQuery = '',

0 commit comments

Comments
 (0)