refactor: enable model configuration on default group (close #143)
This commit is contained in:
1 parent
70370e4035
commit
ac11307faf
3 files changed
+19
-3
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user