Audit fixes

This commit is contained in:
jdl
2026-06-16 07:58:50 +02:00
parent d8c2990ffd
commit cb7c07ac96

View File

@@ -80,8 +80,8 @@ func (a *API) Config_Get() (*Config, error) {
}
func (a *API) Config_Update(conf *Config) error {
a.sessionsMu.Lock()
defer a.sessionsMu.Unlock()
a.lock.Lock()
defer a.lock.Unlock()
return errs.DB(db.Config_Update(a.db, conf))
}