notion4ever icon indicating copy to clipboard operation
notion4ever copied to clipboard

`if start_cursor is None: break` -> `if start_cursor is None or blocks['has_more'] is False: break`

Open vadimkantorov opened this issue 2 years ago • 0 comments

otherwise the API retriever gets into infinite loops sometimes

per documentation, start_cursor field is only valid if has_more is True: https://developers.notion.com/reference/intro#responses

vadimkantorov avatar Dec 04 '23 00:12 vadimkantorov