diff --git a/apps/server/src/routes/api/revisions.ts b/apps/server/src/routes/api/revisions.ts index d126558f0..d9b7b975e 100644 --- a/apps/server/src/routes/api/revisions.ts +++ b/apps/server/src/routes/api/revisions.ts @@ -162,7 +162,7 @@ function getEditedNotesOnDate(req: Request) { AND (noteId NOT LIKE '_%') UNION ALL SELECT noteId FROM revisions - WHERE revisions.dateLastEdited LIKE :date + WHERE revisions.dateCreated LIKE :date ) ORDER BY isDeleted LIMIT 50`,