Browse Source

updated for changes to sqlx

Stephen McQuay 3 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) {
27 27
 	}
28 28
 	// TODO: actually make this return something useful as a first param, might
29 29
 	// need RETURNING log_id?
30
-	return db.NamedExecMap(`
30
+	return db.NamedExec(`
31 31
 		INSERT INTO log
32 32
 			(namespace, level, payload)
33 33
 		VALUES

Loading…
Cancel
Save