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

This commit is contained in:
JustSong committed 2023-06-09 18:05:51 +08:00
1 parent 70370e4035
commit ac11307faf
3 files changed
+19 -3

No files matched your search

-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 {