Audit fixes
This commit is contained in:
@@ -51,7 +51,7 @@ func Config_Update(
|
||||
|
||||
n, err := result.RowsAffected()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
return err
|
||||
}
|
||||
switch n {
|
||||
case 0:
|
||||
@@ -69,7 +69,6 @@ func Config_UpdateFull(
|
||||
) (err error) {
|
||||
Config_Sanitize(row)
|
||||
if err = Config_Validate(row); err != nil {
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user