diff --git a/lib/dav/davProperties.ts b/lib/dav/davProperties.ts index cda5d34a..2f02c279 100644 --- a/lib/dav/davProperties.ts +++ b/lib/dav/davProperties.ts @@ -119,9 +119,9 @@ export function getFavoritesReport(): string { } /** - * Get the SEARCH body to search for recently modified files + * Get the SEARCH body to search for recently modified/uploaded files * - * @param lastModified Oldest timestamp to include (Unix timestamp) + * @param timestamp Oldest timestamp to include (Unix timestamp) * @example * ```ts * // SEARCH for recent files need a different DAV endpoint @@ -139,7 +139,7 @@ export function getFavoritesReport(): string { * }) as ResponseDataDetailed * ``` */ -export function getRecentSearch(lastModified: number): string { +export function getRecentSearch(timestamp: number): string { return ` @@ -173,12 +173,20 @@ export function getRecentSearch(lastModified: number): string { 0 - - - - - ${lastModified} - + + + + + + ${timestamp} + + + + + + ${timestamp} + +