From 098a1f6d3fc900c74bee031e81f81880b64730a5 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Mon, 17 Feb 2014 01:22:55 +0200 Subject: [PATCH] fixed account actions ids --- apier/tpaccountactions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apier/tpaccountactions.go b/apier/tpaccountactions.go index 2f2b539da..4003197f8 100644 --- a/apier/tpaccountactions.go +++ b/apier/tpaccountactions.go @@ -80,7 +80,7 @@ func (self *ApierV1) GetTPAccountActionLoadIds(attrs AttrGetTPAccountActionIds, if missing := utils.MissingStructFields(&attrs, []string{"TPid"}); len(missing) != 0 { //Params missing return fmt.Errorf("%s:%v", utils.ERR_MANDATORY_IE_MISSING, missing) } - if ids, err := self.StorDb.GetTPTableIds(attrs.TPid, utils.TBL_TP_ACTIONS, "tag", nil); err != nil { + if ids, err := self.StorDb.GetTPTableIds(attrs.TPid, utils.TBL_TP_ACCOUNT_ACTIONS, "loadid", nil); err != nil { return fmt.Errorf("%s:%s", utils.ERR_SERVER_ERROR, err.Error()) } else if ids == nil { return errors.New(utils.ERR_NOT_FOUND)