diff --git a/services/build.js b/services/build.js index 010010520..724935955 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 cc676c852..cce3ab0fa 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 fb849b899..67aab82e3 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);