Skip to content

Commit

Permalink
refactor: imageName에 images 폴더 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
belljun3395 committed Jun 30, 2024
1 parent e4d79bd commit 40b4b50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class PutImageUseCase(
imageSource.transferTo(it)
}.getOrThrow()
val dateDir = LocalDate.now().toString()
val imageName = "$dateDir/${generateImageName()}" + ".$suffix"
val imageName = "images/$dateDir/${generateImageName()}" + ".$suffix"

val url = putImageService.execute(imageName, image)?.let { res ->
val source = res.`object`
Expand Down

0 comments on commit 40b4b50

Please sign in to comment.