Skip to content

Commit

Permalink
fix: 업데이트 된 정보가 DB에 저장되지 않는 현상 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yechan-kim committed Nov 23, 2024
1 parent 7df3f59 commit c4598c3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public SuccessCode execute(UpdateRequest request) throws IOException {
Character character = characterRepository.findByName(request.name()).orElseThrow(CharacterNotFoundException::new);
character.updateInfo(fetchCharacterInfo.execute(character.getOcid()));

characterRepository.save(character);

return UPDATE_CHARACTER_SUCCESS;
}
}

0 comments on commit c4598c3

Please sign in to comment.