Skip to content
Merged

fix #161

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion URISIK_BACKEND_PRIVATE
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static RecipeSearchResponseDTO.Item fromTransformed(
tr.getId().toString(),
"TRANSFORMED",
tr.getTitle(),
meta != null ? meta.getImageSmallUrl() : null,
tr != null ? tr.getImageUrl() : null,
meta != null ? meta.getCategory() : null,
tr.getAvgScore(),
tr.getReviewCount(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@

import java.util.Collection;
import java.util.List;
import java.util.Optional;

public interface TransformedRecipeRepository extends JpaRepository<TransformedRecipe, Long> {

Optional<TransformedRecipe> findById(Long transformedRecipeId);

@Query("""
select tr
from TransformedRecipe tr
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public RecipeSearchResponseDTO search(Long loginUserId,String keyword, int page,
Boolean safe = determineSafety(
familyRoomId,
RecipeTextParser.parseIngredients(
tr.getBaseRecipe().getIngredientsRaw()
tr.getIngredientsRaw()
)
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public OpenAPI openAPI() {
return new OpenAPI()
.addServersItem(new Server().url("https://api.urisik.com"));
}

/*
* 각 API 도메인 별로 그룹화하여 Swagger UI에 표시합니다.
* */
Expand Down
Loading