Skip to content

Commit

Permalink
fix(s3): full file name
Browse files Browse the repository at this point in the history
  • Loading branch information
gimhanul committed Jul 27, 2023
1 parent 1b558bc commit 7e95162
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.UUID;

@Service
@RequiredArgsConstructor
Expand All @@ -40,7 +39,7 @@ public UploadResponse execute(MultipartFile file, String folder, String fileName
}

return new UploadResponse(
amazonS3Client.getUrl(s3Properties.getBucket(), fileName).toString()
amazonS3Client.getUrl(s3Properties.getBucket(), fullFileName).toString()
);
}

Expand Down

0 comments on commit 7e95162

Please sign in to comment.