Skip to content

Commit 7ab38ff

Browse files
committed
fix: message
1 parent 3720b23 commit 7ab38ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/back/domain/cocktail/service/CocktailService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class CocktailService {
3434
public Cocktail getCocktailById(Long id) {
3535

3636
return cocktailRepository.findById(id)
37-
.orElseThrow(() -> new IllegalArgumentException("User not found. id=" + id));
37+
.orElseThrow(() -> new IllegalArgumentException("Cocktail not found. id=" + id));
3838
}
3939

4040
// 칵테일 무한스크롤 조회

0 commit comments

Comments
 (0)