Private
Public Access
1
0

Fix account type not updating on edit

UpdateAccountRequest was missing the Type field, so changes to
account type were silently ignored. Add Type to the DTO and apply
it in the update service method.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Catherine Renelle
2026-02-08 21:44:09 -05:00
parent 53f49ba9d8
commit 54a15cf3cf
2 changed files with 2 additions and 0 deletions
@@ -60,6 +60,7 @@ public class AccountService : IAccountService
?? throw new KeyNotFoundException("Account not found");
account.Name = request.Name;
account.Type = request.Type;
account.Institution = request.Institution;
account.AccountNumber = request.AccountNumber;
account.CreditLimit = request.CreditLimit;