From 3fc769d0436c145e9cb3c36c865574e39b8e16aa Mon Sep 17 00:00:00 2001 From: StuartFerguson Date: Tue, 3 Feb 2026 11:09:51 +0000 Subject: [PATCH] Reorder parameters in DisableTransactionFeeForProductCommand Reordered constructor parameters in DisableTransactionFeeForProductCommand to (estateId, contractId, productId, transactionFeeId) for consistency with command definition and usage. --- TransactionProcessor/Handlers/ContractHandlers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TransactionProcessor/Handlers/ContractHandlers.cs b/TransactionProcessor/Handlers/ContractHandlers.cs index 2ce20528..bc24edce 100644 --- a/TransactionProcessor/Handlers/ContractHandlers.cs +++ b/TransactionProcessor/Handlers/ContractHandlers.cs @@ -55,7 +55,7 @@ public static async Task AddTransactionFeeForProductToContract(IMediato public static async Task DisableTransactionFeeForProduct(IMediator mediator, HttpContext ctx, Guid estateId, Guid contractId, Guid productId, Guid transactionFeeId, CancellationToken cancellationToken) { - ContractCommands.DisableTransactionFeeForProductCommand command = new(contractId, estateId, productId, transactionFeeId); + ContractCommands.DisableTransactionFeeForProductCommand command = new(estateId, contractId, productId, transactionFeeId); Result result = await mediator.Send(command, cancellationToken); return ResponseFactory.FromResult(result);