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

@@ -129,7 +129,7 @@ func (s *Server) registerStorageRoutes(g *echo.Group) {
return echo.NewHTTPError(http.StatusInternalServerError, "Failed to find storage").SetInternal(err)
}
if systemSetting != nil {
storageServiceID := 0
storageServiceID := api.DatabaseStorage
err = json.Unmarshal([]byte(systemSetting.Value), &storageServiceID)
if err != nil {
return echo.NewHTTPError(http.StatusInternalServerError, "Failed to unmarshal storage service id").SetInternal(err)