Skip to content

Commit

Permalink
Fix Broken Goal Retrieve HostUserId
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Diger committed Dec 31, 2023
1 parent f603f44 commit 38f7649
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ class GoalApplicationService(
}

fun retrieveGoalBettingParticipant(
userId: Long,
hostUserId: Long,
goalId: Long
): GoalRetrieveParticipantResponse {
val hostUser = userService.loadById(userId)
val hostUser = userService.loadById(hostUserId)
val goal = goalService.loadById(goalId)
val bettingList = bettingService.loadAllByGoalId(goalId)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class GoalController(
): Response<GoalRetrieveParticipantResponse> {
return Response.success(
goalApplicationService.retrieveGoalBettingParticipant(
userId = userInfo.id,
hostUserId = userInfo.id,
goalId = goalId
)
)
Expand Down

0 comments on commit 38f7649

Please sign in to comment.