feat : store 서비스 오류추가.
This commit is contained in:
parent
496e11e43c
commit
71a875bc8a
@ -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() {
|
||||
|
||||
@ -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);
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user