Skip to content

Commit

Permalink
fix: 기술 리스트에서 카테고리 로고 이미지 누락 (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
jongmee authored Aug 19, 2024
1 parent 12ecdfe commit 2fef4c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private MoveResponse toMoveResponseWithLogo(BattleMove battleMove) {
.orElseThrow(() -> new GlobalCustomException(ErrorMessage.POKEMON_TYPE_NOT_FOUND));
String typeLogo = pokemonType.image();
MoveCategory moveCategory = MoveCategory.findByName(battleMove.category().toLowerCase());
String categoryLogo = moveCategory.getName();
String categoryLogo = moveCategory.getImage();

return MoveResponse.of(battleMove, typeLogo, categoryLogo);
}
Expand Down

0 comments on commit 2fef4c5

Please sign in to comment.