mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 22:58:44 +05:00
Finished CRUD tests for rates
This commit is contained in:
committed by
Dan Christian Bogos
parent
2c587c1b6c
commit
2c953ef513
@@ -941,7 +941,6 @@ func NewRateProfileFromMapDataDBMap(tnt, id string, mapRP map[string]interface{}
|
||||
}
|
||||
}
|
||||
for keyID, rateStr := range mapRP {
|
||||
Logger.Crit(fmt.Sprintf("rateStr: %v", ToJSON(rateStr)))
|
||||
if strings.HasPrefix(keyID, Rates+ConcatenatedKeySep) {
|
||||
var rate *Rate
|
||||
if err := ms.Unmarshal([]byte(IfaceAsString(rateStr)), &rate); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user