mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 09:08:45 +05:00
AttributeS to reuse received CGREvent when doing multiple runs
This commit is contained in:
@@ -236,6 +236,9 @@ func (alS *AttributeService) V1ProcessEvent(args *AttrArgsProcessEvent,
|
||||
}
|
||||
return err
|
||||
}
|
||||
if len(evRply.AlteredFields) != 0 {
|
||||
args.CGREvent = evRply.CGREvent // for next loop
|
||||
}
|
||||
if apiRply == nil { // first reply
|
||||
apiRply = evRply
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user