mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-19 22:28:45 +05:00
human readable action and action trigger id
This commit is contained in:
@@ -608,10 +608,10 @@ func (self *SQLStorage) SetTPActionTriggers(tpid string, ats map[string][]*utils
|
||||
tx.Rollback()
|
||||
return err
|
||||
}
|
||||
for _, at := range aTriggers {
|
||||
for idx, at := range aTriggers {
|
||||
saved := tx.Save(TpActionTrigger{
|
||||
Tpid: tpid,
|
||||
Tag: atId,
|
||||
Tag: atId + strconv.Itoa(idx),
|
||||
ThresholdType: at.ThresholdType,
|
||||
ThresholdValue: at.ThresholdValue,
|
||||
Recurrent: at.Recurrent,
|
||||
|
||||
Reference in New Issue
Block a user