From 953bb6de52908407c670761ffb7c4991b6d41738 Mon Sep 17 00:00:00 2001 From: arberkatellari Date: Thu, 9 Nov 2023 05:11:15 -0500 Subject: [PATCH] Improve GetAccountCost --- apier/v1/costs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apier/v1/costs.go b/apier/v1/costs.go index 0351b5b6e..04128c443 100644 --- a/apier/v1/costs.go +++ b/apier/v1/costs.go @@ -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{