feat : store 서비스 오류추가.

This commit is contained in:
lsh9672 2025-06-19 13:32:47 +09:00
parent 496e11e43c
commit 71a875bc8a
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ public class StoreService implements StoreUseCase {
@Override
public String getAllTags(Long storeId){
return storeJpaRepository.findById(storeId).getTagsJson();
return storeJpaRepository.findById(storeId).get().getTagsJson();
}
@Override
public List<StoreListResponse> getAllStores() {

View File

@ -147,5 +147,5 @@ public interface StoreJpaRepository extends JpaRepository<StoreEntity, Long> {
@Param("keyword") String keyword,
Pageable pageable);
StoreEntity findById(Long id);
Optional<StoreEntity> findById(Long id);
}