Skip to content

Commit

Permalink
Merge pull request #316 from zipdabang/refactor/315
Browse files Browse the repository at this point in the history
♻️  Refactor/315 resizing lambda trigger querystring 추가
  • Loading branch information
Hanvp authored Feb 18, 2024
2 parents 7c46902 + 0f119b7 commit bbb47e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/zipdabang/server/converter/RecipeConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ public static RecipeResponseDto.RecipeDto toResponseTestRecipeDto(TestRecipe rec
.recipeName(recipe.getName())
.ownerImage("")
.nickname("test")
.thumbnailUrl(recipe.getThumbnailUrl())
.thumbnailUrl(recipe.getThumbnailUrl()+"?size=thumbnail")
.time(recipe.getTime())
.intro(recipe.getIntro())
.recipeTip(recipe.getRecipeTip())
Expand All @@ -874,7 +874,7 @@ public static List<RecipeResponseDto.StepDto> toResponseTestStepDto(TestRecipe r
.map(step-> RecipeResponseDto.StepDto.builder()
.stepNum(step.getStepNum())
.description(step.getDescription())
.image(step.getImageUrl())
.image(step.getImageUrl()+"?size=step")
.build())
.collect(Collectors.toList());
}
Expand Down Expand Up @@ -907,7 +907,7 @@ private static RecipeResponseDto.RecipeSimpleDto toResponseTestRecipeSimpleDto(T
.categoryId(getTestCategoryIds(recipe))
.recipeName(recipe.getName())
.nickname("test")
.thumbnailUrl(recipe.getThumbnailUrl())
.thumbnailUrl(recipe.getThumbnailUrl()+"?size=preview")
.createdAt(staticTimeConverter.ConvertTime(recipe.getCreatedAt()))
.updatedAt(staticTimeConverter.ConvertTime(recipe.getUpdatedAt()))
.comments(0L)
Expand Down

0 comments on commit bbb47e1

Please sign in to comment.