mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Update *remove actions to support multiple balance types at once
This commit is contained in:
committed by
Dan Christian Bogos
parent
fe39eec4d9
commit
5ac08799e1
@@ -139,7 +139,7 @@ func (at *ActionTrigger) Match(a *Action) bool {
|
||||
}
|
||||
thresholdType = t.ThresholdType == "" || at.ThresholdType == t.ThresholdType
|
||||
}
|
||||
return thresholdType && at.Balance.CreateBalance().MatchFilter(a.Balance, false, false)
|
||||
return thresholdType && at.Balance.CreateBalance().MatchFilter(a.Balance, "", false, false)
|
||||
}
|
||||
|
||||
func (at *ActionTrigger) CreateBalance() *Balance {
|
||||
|
||||
Reference in New Issue
Block a user