Skip to content

Commit

Permalink
Update GoalService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Qianmoxsn committed May 26, 2024
1 parent 51110ee commit 0289e53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/seg83/childbank/service/GoalService.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public class GoalService {
/**
* DepositService instance for handling deposit operations.
*/
@Autowired
private DepositService depositService;

/**
Expand All @@ -42,13 +41,14 @@ public class GoalService {
/**
* Constructor for creating a new GoalService instance.
*
* @param goalDao GoalDao instance
* @param goalDao GoalDao instance
* @param currentAccountDao CurrentAccountDao instance
*/
@Autowired
public GoalService(GoalDao goalDao, CurrentAccountDao currentAccountDao) {
public GoalService(GoalDao goalDao, CurrentAccountDao currentAccountDao, DepositService depositService) {
this.goalDao = goalDao;
this.currentAccountDao = currentAccountDao;
this.depositService = depositService;
}

/**
Expand Down

0 comments on commit 0289e53

Please sign in to comment.