Improve GetAccountCost

This commit is contained in:
arberkatellari
2023-11-09 05:11:15 -05:00
committed by Dan Christian Bogos
parent 054c584775
commit 953bb6de52

View File

@@ -122,7 +122,7 @@ func (apierSv1 *APIerSv1) GetAccountCost(ctx *context.Context, args *utils.CGREv
if err != nil {
return
}
args.APIOpts[utils.MetaRALsDryRun] = true
cd.DryRun = true
var cc engine.CallCost
if err := apierSv1.Responder.Debit(context.Background(),
&engine.CallDescriptorWithAPIOpts{