Skip to content

Build your personal knowledge base with Trilium Notes

don't save backups with colons in filenames, doesn't work on windows

azivnerb998c936ba77
diff --git a/services/build.js b/services/build.js
index 0100105209..724935955b 100644
--- a/services/build.js
+++ b/services/build.js
@@ -1 +1 @@
-module.exports = { build_date:"2017-11-17T00:09:29-05:00", build_revision: "a6bf04f8d4dc92445e6b4decd7dbbaa2f3e3ebaa" };
+module.exports = { build_date:"2017-11-20T08:43:54-05:00", build_revision: "2f2969b2a1fa080a7555f2dfb7ec8b933f0421fe" };
diff --git a/services/notes.js b/services/notes.js
index cc676c852a..cce3ab0fa7 100644
--- a/services/notes.js
+++ b/services/notes.js
@@ -188,7 +188,7 @@ async function updateNote(noteId, newNote, ctx) {
await sql.remove("links", noteId);
for (const link in newNote.links) {
- await sql.insert("links", link);
+ //await sql.insert("links", link);
}
await sync_table.addNoteTreeSync(noteId);
diff --git a/services/sync_update.js b/services/sync_update.js
index fb849b899d..67aab82e34 100644
--- a/services/sync_update.js
+++ b/services/sync_update.js
@@ -19,7 +19,7 @@ async function updateNote(entity, links, sourceId) {
for (const link of links) {
delete link['lnk_id'];
- await sql.insert('link', link);
+ //await sql.insert('link', link);
}
await sync_table.addNoteSync(entity.note_id, sourceId);