-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Labels
verificationCheck if bug/feature needs to be implementedCheck if bug/feature needs to be implemented
Milestone
Description
The issue:
When querying a database with the TimestampLastEditedTimeFilter, body validation fails as the Timestamp value should contain "last_edited_time" instead of "last_modified_time".
To reproduce:
var dateFilter = new DateFilter("When", onOrAfter: DateTime.Now);
var editedFilter = new LastEditedTimeFilter(onOrAfter: DateTime.Today);
var queryParams = new DatabasesQueryParameters { Filter = new CompoundFilter(and: new Filter[] {dateFilter, editedFilter}.ToList()) };
var pages = await client.Databases.QueryAsync(databaseId, queryParams);
public string Timestamp => "last_modified_time"; |
Fix:
Replace "last_modified_time" with "last_edited_time".
It works for me.
Metadata
Metadata
Assignees
Labels
verificationCheck if bug/feature needs to be implementedCheck if bug/feature needs to be implemented