better ApierV1 set account

This commit is contained in:
Radu Ioan Fericean
2016-02-01 20:51:32 +02:00
parent e0c790eb1b
commit 369f6e99f0

View File

@@ -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