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{