Commit c86b4fdf authored by QM's avatar QM Committed by mdj33

fix bug

parent 85ca220e
......@@ -590,7 +590,6 @@ func (a *action) getActiveRule() (*auty.RuleConfig, error) {
// 获取当前生效提案规则,并且将不修改的规则补齐
rule := &auty.RuleConfig{}
value, err := a.db.Get(activeRuleID())
cfg := a.api.GetConfig()
if err == nil {
err = types.Decode(value, rule)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment