diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/store/sqldb.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/store/sqldb.go b/server/store/sqldb.go index 81784b0..f65f601 100644 --- a/server/store/sqldb.go +++ b/server/store/sqldb.go @@ -132,7 +132,7 @@ func (db *sqldb) SetRecord(rec *CertRecord) error { if err := db.conn.Ping(); err != nil { return err } - _, err = db.set.Exec(rec.KeyID, string(principals), rec.CreatedAt, rec.Expires, rec.Raw) + _, err = db.set.Exec(rec.KeyID, principals, rec.CreatedAt, rec.Expires, rec.Raw) return err } |