Audit fixes
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user