fix: transfer exceeding available balance allowed
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m40s

This commit is contained in:
juancwu 2026-05-04 15:06:12 +00:00
commit f6a873ffc8
4 changed files with 160 additions and 29 deletions

View file

@ -66,6 +66,7 @@ func New(cfg *config.Config) (*App, error) {
allocationService.SetAuditLogger(auditLogService)
transactionService := service.NewTransactionService(transactionRepository, categoryRepository, accountService)
transactionService.SetAuditLogger(txAuditLogService)
transactionService.SetAllocationService(allocationService)
accountActivityService := service.NewAccountActivityService(auditLogService, txAuditLogService)
emailService := service.NewEmailService(
emailClient,