chore: update version and remove isDev flag (#1452)

* chore: update version and remove isDev flag

* chore: update
This commit is contained in:
boojack
2023-04-03 14:13:22 +08:00
committed by GitHub
parent 1cab30f32f
commit 4419b4d4ae
9 changed files with 49 additions and 62 deletions

View File

@ -140,7 +140,7 @@ func (upsert SystemSettingUpsert) Validate() error {
return fmt.Errorf("invalid appearance value")
}
} else if upsert.Name == SystemSettingStorageServiceIDName {
value := 0
value := DatabaseStorage
err := json.Unmarshal([]byte(upsert.Value), &value)
if err != nil {
return fmt.Errorf("failed to unmarshal system setting storage service id value")