fix rule schema

This commit is contained in:
jxxghp
2024-08-05 18:14:24 +08:00
parent 0055f4c7af
commit cec671e8a1
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class RuleHelper:
"""
获取用户所有规则组
"""
rule_groups: List[dict] = self.systemconfig.get(SystemConfigKey.UserRuleGroups)
rule_groups: List[dict] = self.systemconfig.get(SystemConfigKey.UserFilterRuleGroups)
if not rule_groups:
return []
return [FilterRuleGroup(**group) for group in rule_groups]