Skip to content

Commit

Permalink
refactor: SupplementAddFragment 클래스 uploadImage 메서드 인자 개행 및 콤마 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
nueijeel committed Apr 9, 2024
1 parent 5bd9084 commit 4a8bee8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,10 @@ class SupplementAddFragment : Fragment(), OnPictureChangedListener {
}
}

private fun uploadImage(preSignedUrl: String, requestBody: RequestBody) {
private fun uploadImage(
preSignedUrl: String,
requestBody: RequestBody,
) {
awsS3ViewModel.uploadImageToS3(preSignedUrl, requestBody)
awsS3ViewModel.uploadImageResponse.observe(viewLifecycleOwner) { response ->
if (response == 200) {
Expand Down

0 comments on commit 4a8bee8

Please sign in to comment.