Skip to content

Commit 0a0a9c6

Browse files
Merge pull request #325 from bytrangle/fix_optional-collectionview
2 parents 25f44b6 + 065ebfa commit 0a0a9c6

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
@@ -428,7 +428,7 @@ export class NotionAPI {
428428
public async getCollectionData(
429429
collectionId: string,
430430
collectionViewId: string,
431-
collectionView: any,
431+
collectionView?: any,
432432
{
433433
limit = 999,
434434
searchQuery = '',

0 commit comments

Comments
 (0)