Browse Source

updated for changes to sqlx

master
Stephen McQuay 5 years ago
parent
commit
b0e7fb763a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      log.go

+ 1
- 1
log.go View File

@@ -27,7 +27,7 @@ func (l *LogMessage) save() (sql.Result, error) {
}
// TODO: actually make this return something useful as a first param, might
// need RETURNING log_id?
return db.NamedExecMap(`
return db.NamedExec(`
INSERT INTO log
(namespace, level, payload)
VALUES


Loading…
Cancel
Save