Skip to content

Commit 3aba73c

Browse files
Merge pull request NotionX#505 from Armster15/master
2 parents fea0d2f + f7daab7 commit 3aba73c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,9 @@ export class NotionAPI {
549549
type: 'BlocksInAncestor',
550550
source: 'quick_find_public',
551551
ancestorId: parsePageId(params.ancestorId),
552-
sort: 'Relevance',
552+
sort: {
553+
field: 'relevance'
554+
},
553555
limit: params.limit || 20,
554556
query: params.query,
555557
filters: {

0 commit comments

Comments
 (0)