mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +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]);
|
||||
|
||||
@@ -61,7 +61,7 @@ function checkSync() {
|
||||
function syncNow() {
|
||||
log.info("Received request to trigger sync now.");
|
||||
|
||||
// when explicitly asked for set in progress status immediatelly for faster user feedback
|
||||
// when explicitly asked for set in progress status immediately for faster user feedback
|
||||
ws.syncPullInProgress();
|
||||
|
||||
return syncService.sync();
|
||||
|
||||
Reference in New Issue
Block a user