mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Correct matching for action trigger in case of *reset_triggers action
This commit is contained in:
committed by
Dan Christian Bogos
parent
a6cda0bd60
commit
6b79c01287
@@ -123,7 +123,7 @@ func (at *ActionTrigger) Match(a *Action) bool {
|
||||
if a.Balance.Type != nil && a.Balance.GetType() != at.Balance.GetType() {
|
||||
return false
|
||||
}
|
||||
var thresholdType bool
|
||||
thresholdType := true // by default we consider that we don't have ExtraParameters
|
||||
if a.ExtraParameters != "" {
|
||||
t := struct {
|
||||
GroupID string
|
||||
|
||||
Reference in New Issue
Block a user