Skip to content

Commit

Permalink
Remove: 커리어 더하기 불필요 코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
kimyujin-com committed Feb 20, 2024
1 parent 25b1540 commit 9a91cd8
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class CareerAddActivityViewModel : ViewModel() {
}

fun addImageFile(file: File) {
Log.d("imagePath", file.toString())
val requestFile = RequestBody.create("image/*".toMediaTypeOrNull(), file)
val body = MultipartBody.Part.createFormData("image", file.name, requestFile)
imageList.add(body)
Expand Down Expand Up @@ -180,8 +179,6 @@ class CareerAddActivityViewModel : ViewModel() {
} ?: RuntimeException("Unknown error")
} catch (e: Exception) {
Log.e("addCareerInfo", "addCareer:Extras API 오류: ${e.message}")
val errorMessage = response.errorBody()?.string()
Log.e("addCareerInfo", "addCareer:Extras API 오류: $errorMessage")
e.printStackTrace()
}
}
Expand Down

0 comments on commit 9a91cd8

Please sign in to comment.