mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 22:58:44 +05:00
value formula passing test
This commit is contained in:
@@ -482,7 +482,7 @@ func (mig MigratorRC8) migrateActions() error {
|
||||
bf.Type = utils.StringPointer(oldAc.BalanceType)
|
||||
}
|
||||
if oldAc.Balance.Value != 0 {
|
||||
bf.Value = &engine.ValueFormula{Static: oldAc.Balance.Value}
|
||||
bf.Value = &utils.ValueFormula{Static: oldAc.Balance.Value}
|
||||
}
|
||||
if oldAc.Balance.RatingSubject != "" {
|
||||
bf.RatingSubject = utils.StringPointer(oldAc.Balance.RatingSubject)
|
||||
|
||||
@@ -364,7 +364,7 @@ func (mig MigratorRC8) migrateActionsInt() error {
|
||||
bf.Type = utils.StringPointer(oldAc.BalanceType)
|
||||
}
|
||||
if oldAc.Balance.Value != 0 {
|
||||
bf.Value = &engine.ValueFormula{Static: oldAc.Balance.Value}
|
||||
bf.Value = &utils.ValueFormula{Static: oldAc.Balance.Value}
|
||||
}
|
||||
if oldAc.Balance.RatingSubject != "" {
|
||||
bf.RatingSubject = utils.StringPointer(oldAc.Balance.RatingSubject)
|
||||
|
||||
Reference in New Issue
Block a user