mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Merge branch 'master' of https://github.com/cgrates/cgrates
This commit is contained in:
@@ -1085,7 +1085,7 @@ func (self *SQLStorage) GetTpRates(tpid, tag string) (map[string]*utils.TPRate,
|
||||
}
|
||||
|
||||
for _, tr := range tpRates {
|
||||
rs, err := utils.NewRateSlot(tr.ConnectFee, tr.MaxCost, tr.MaxCostStrategy, tr.Rate, tr.RateUnit, tr.RateIncrement, tr.GroupIntervalStart)
|
||||
rs, err := utils.NewRateSlot(tr.ConnectFee, tr.Rate, tr.RateUnit, tr.RateIncrement, tr.GroupIntervalStart)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1138,6 +1138,8 @@ func (self *SQLStorage) GetTpDestinationRates(tpid, tag string, pagination *util
|
||||
RateId: tpDr.RatesTag,
|
||||
RoundingMethod: tpDr.RoundingMethod,
|
||||
RoundingDecimals: tpDr.RoundingDecimals,
|
||||
MaxCost: tpDr.MaxCost,
|
||||
MaxCostStrategy: tpDr.MaxCostStrategy,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user