mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 00:35:50 +01:00
Fix typos
Found via `codespell -S ./libraries,./package-lock.json -L tabel,tabels,uptodate,isnt,edn,falsy`
This commit is contained in:
@@ -11,7 +11,7 @@ function addRecentNote(req) {
|
||||
}).save();
|
||||
|
||||
if (Math.random() < 0.05) {
|
||||
// it's not necessary to run this everytime ...
|
||||
// it's not necessary to run this every time ...
|
||||
const cutOffDate = dateUtils.utcDateTimeStr(new Date(Date.now() - 24 * 3600 * 1000));
|
||||
|
||||
sql.execute(`DELETE FROM recent_notes WHERE utcDateCreated < ?`, [cutOffDate]);
|
||||
|
||||
Reference in New Issue
Block a user