mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 06:09:53 +05:00
compilation fix :(
This commit is contained in:
@@ -599,7 +599,7 @@ func (self *ApierV1) SetRatingProfile(attrs AttrSetRatingProfile, reply *string)
|
||||
}
|
||||
var rpfl *engine.RatingProfile
|
||||
if attrs.Overwrite {
|
||||
rpfl, err = self.RatingDb.GetRatingProfile(keyId, false)
|
||||
rpfl, _ = self.RatingDb.GetRatingProfile(keyId, false)
|
||||
}
|
||||
if rpfl == nil {
|
||||
rpfl = &engine.RatingProfile{Id: keyId, RatingPlanActivations: make(engine.RatingPlanActivations, 0)}
|
||||
|
||||
Reference in New Issue
Block a user