mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 23:58:44 +05:00
improved GetActions in ApierV2 (params changes!)
This commit is contained in:
@@ -514,7 +514,7 @@ func (tpr *TpReader) LoadActions() (err error) {
|
||||
}
|
||||
}
|
||||
acts[idx] = &Action{
|
||||
Id: tag + strconv.Itoa(idx),
|
||||
Id: tag,
|
||||
ActionType: tpact.Identifier,
|
||||
//BalanceType: tpact.BalanceType,
|
||||
Weight: tpact.Weight,
|
||||
@@ -990,7 +990,7 @@ func (tpr *TpReader) LoadAccountActionsFiltered(qriedAA *TpAccountAction) error
|
||||
}
|
||||
}
|
||||
acts[idx] = &Action{
|
||||
Id: tag + strconv.Itoa(idx),
|
||||
Id: tag,
|
||||
ActionType: tpact.Identifier,
|
||||
//BalanceType: tpact.BalanceType,
|
||||
Weight: tpact.Weight,
|
||||
@@ -1338,7 +1338,7 @@ func (tpr *TpReader) LoadCdrStatsFiltered(tag string, save bool) (err error) {
|
||||
}
|
||||
}
|
||||
acts[idx] = &Action{
|
||||
Id: tag + strconv.Itoa(idx),
|
||||
Id: tag,
|
||||
ActionType: tpact.Identifier,
|
||||
//BalanceType: tpact.BalanceType,
|
||||
Weight: tpact.Weight,
|
||||
|
||||
Reference in New Issue
Block a user