Skip to content

Commit

Permalink
chore :: remove exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jyk1029 committed Jan 26, 2024
1 parent 5d778cd commit ab77774
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ class QueryApplyUserListService(
val user = userFacade.getCurrentUser()
val feed = feedFacade.getByFeedId(feedId)
val applyUser = applyRepository.findByFeed(feed).map { it.user }

if (user != feed.user) {
throw IncorrectUserException
}

return QueryApplyUserListResponse(applyUser.map { UserElement(it.profile, it.nickname, it.accountId) })
}
}

0 comments on commit ab77774

Please sign in to comment.