refactor: enable model configuration on default group (close #143)

This commit is contained in:
JustSong
2023-06-09 18:05:51 +08:00
parent 70370e4035
commit ac11307faf
3 changed files with 19 additions and 3 deletions
-3
View File
@@ -13,9 +13,6 @@ type Ability struct {
}
func GetRandomSatisfiedChannel(group string, model string) (*Channel, error) {
if group == "default" {
return GetRandomChannel()
}
ability := Ability{}
var err error = nil
if common.UsingSQLite {