Skip to content

Commit

Permalink
Merge pull request #152 from 9oormthon-univ/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
HyunWoo9930 authored Nov 25, 2024
2 parents d299734 + c90e6c0 commit e0d83bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public Message prepay(String userId, PrepayRequest prepayRequest) {
Optional<StoreTeam> storeAndTeam = storeTeamRepository.findByStoreAndTeam(store, team);

if (storeAndTeam.isEmpty()) {
storeTeamRepository.save(buildedStoreTeam);
storeAndTeam = Optional.of(storeTeamRepository.save(buildedStoreTeam));
}

StoreTeam storeTeam = storeAndTeam.get();
Expand Down

0 comments on commit e0d83bc

Please sign in to comment.