mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 11:06:25 +05:00
better ApierV1 set account
This commit is contained in:
@@ -195,7 +195,7 @@ func (self *ApierV1) SetAccount(attr utils.AttrSetAccount, reply *string) error
|
||||
}
|
||||
}
|
||||
}
|
||||
if err := self.RatingDb.SetActionPlan(attr.ActionPlanId, ap, false); err != nil {
|
||||
if err := self.RatingDb.SetActionPlan(attr.ActionPlanId, ap, true); err != nil {
|
||||
return 0, err
|
||||
}
|
||||
// update cache
|
||||
|
||||
Reference in New Issue
Block a user