mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Add GetActions in DataManager
This commit is contained in:
committed by
Dan Christian Bogos
parent
d159bf48a6
commit
9f68b27b27
@@ -57,7 +57,7 @@ func (at *ActionTrigger) Execute(ub *Account, sq *CDRStatsQueueTriggered) (err e
|
||||
}
|
||||
// does NOT need to Lock() because it is triggered from a method that took the Lock
|
||||
var aac Actions
|
||||
aac, err = dm.DataDB().GetActions(at.ActionsID, false, utils.NonTransactional)
|
||||
aac, err = dm.GetActions(at.ActionsID, false, utils.NonTransactional)
|
||||
if err != nil {
|
||||
utils.Logger.Err(fmt.Sprintf("Failed to get actions: %v", err))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user