Fix user display configrations not persisting in SQLite table

- Was missing user.username key
This commit is contained in:
Christoph Kluge 2023-01-30 14:33:12 +01:00
parent 5abd3641b2
commit 186c8f7311

View File

@ -132,7 +132,7 @@ func (uCfg *UserCfgRepo) UpdateConfig(
}
if _, err := uCfg.DB.Exec(`REPLACE INTO configuration (username, confkey, value) VALUES (?, ?, ?)`,
user, key, value); err != nil {
user.Username, key, value); err != nil {
return err
}