Skip to content

Commit

Permalink
fix: 잘못 수정된 반환 타입 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
belljun3395 committed Jun 30, 2024
1 parent eb7200c commit 04d3a6e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.few.storage.image.service.s3

import com.few.storage.image.client.ImageStoreClient
import com.few.storage.document.client.dto.DocumentWriteResponse
import com.few.storage.image.client.dto.ImageWriteResponse
import com.few.storage.image.client.util.ImageArgsGenerator
import com.few.storage.image.service.PutImageService
import org.springframework.beans.factory.annotation.Value
Expand All @@ -13,7 +13,7 @@ class S3PutImageService(
@Value("\${image.store.bucket-name}") val bucket: String,
private val imageStoreClient: ImageStoreClient
) : PutImageService {
override fun execute(name: String, file: File): DocumentWriteResponse? {
override fun execute(name: String, file: File): ImageWriteResponse? {
ImageArgsGenerator.putImage(bucket, name, file).let { args ->
return imageStoreClient.putObject(args)
}
Expand Down

0 comments on commit 04d3a6e

Please sign in to comment.