From 369f6e99f01eaa1cfb79afe8cbf84abbb8c1fe67 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Mon, 1 Feb 2016 20:51:32 +0200 Subject: [PATCH] better ApierV1 set account --- apier/v1/accounts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apier/v1/accounts.go b/apier/v1/accounts.go index 929b19a83..bed4ce81c 100644 --- a/apier/v1/accounts.go +++ b/apier/v1/accounts.go @@ -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