sync debugging tweaks etc.

This commit is contained in:
azivner
2017-11-05 21:56:42 -05:00
parent 2a9a8da045
commit 1c501beea9
4 changed files with 23 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
const sql = require('./sql');
const utils = require('./utils');
const log = require('./log');
async function addEvent(comment) {
await addNoteEvent(null, comment);
@@ -11,6 +12,8 @@ async function addNoteEvent(noteId, comment) {
comment: comment,
date_added: utils.nowTimestamp()
});
log.info("Event log for " + noteId + ": " + comment);
}
module.exports = {