feat: update storage setting section (#1140)

This commit is contained in:
boojack
2023-02-23 23:22:34 +08:00
committed by GitHub
parent 6d2d322140
commit 84fb8b2288
8 changed files with 98 additions and 155 deletions

View File

@ -99,7 +99,7 @@ func (s *Server) registerSystemRoutes(g *echo.Group) {
systemStatus.CustomizedProfile.ExternalURL = v.(string)
}
} else if systemSetting.Name == api.SystemSettingStorageServiceIDName {
systemStatus.StorageServiceID = value.(int)
systemStatus.StorageServiceID = int(value.(float64))
}
}