fix sync of audit log

This commit is contained in:
azivner
2017-10-26 21:53:26 -04:00
parent 791314ba1a
commit 297da47b34
4 changed files with 21 additions and 3 deletions

View File

@@ -135,8 +135,6 @@ async function putChanged(changed) {
}
for (const audit of changed.audit_log) {
delete audit['id'];
await sql.insert("audit_log", audit, true);
log.info("Update/sync audit_log for noteId=" + audit.note_id);