Skip to content

Commit d4053b2

Browse files
Merge pull request #662 from LHDi/fix-get-blocks
2 parents 576d803 + 2107879 commit d4053b2

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
@@ -649,7 +649,7 @@ export class NotionAPI {
649649

650650
public async getBlocks(blockIds: string[], kyOptions?: KyOptions) {
651651
return this.fetch<notion.PageChunk>({
652-
endpoint: 'syncRecordValues',
652+
endpoint: 'syncRecordValuesMain',
653653
body: {
654654
requests: blockIds.map((blockId) => ({
655655
// TODO: when to use table 'space' vs 'block'?

0 commit comments

Comments
 (0)