We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43753fb commit 7229087Copy full SHA for 7229087
components/notion/sources/updated-page/updated-page.mjs
@@ -99,7 +99,15 @@ export default {
99
const lastCheckedTimestamp = this.getLastUpdatedTimestamp();
100
const propertyValues = this._getPropertyValues();
101
102
- const params = this.lastUpdatedSortParam();
+ const params = {
103
+ ...this.lastUpdatedSortParam(),
104
+ filter: {
105
+ timestamp: "last_edited_time",
106
+ last_edited_time: {
107
+ on_or_after: new Date(lastCheckedTimestamp).toISOString(),
108
+ },
109
110
+ };
111
let newLastUpdatedTimestamp = lastCheckedTimestamp;
112
const properties = await this.getProperties();
113
const pagesStream = this.notion.getPages(this.databaseId, params);
0 commit comments