Skip to content

Commit

Permalink
chore/#196 : 함수 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
shinythinking committed Dec 3, 2024
1 parent 22b6cca commit f5db3c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class UserRepositoryImpl @Inject constructor(
}
}

override suspend fun uploadSingleImageToStorage(
override suspend fun uploadProfileImageToStorage(
imageUri: String,
uid: String,
): String {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ interface UserRepository {
suspend fun isUserExist(uid: String): Boolean

suspend fun updateUserNameAndProfileUrl(uid: String, userName: String, profileUrl: String)
suspend fun uploadSingleImageToStorage(imageUri: String, uid: String): String
suspend fun uploadProfileImageToStorage(imageUri: String, uid: String): String
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class ProfileEditViewModel @Inject constructor(

private suspend fun getStorageUrl(): String {
try {
return userRepository.uploadSingleImageToStorage(
return userRepository.uploadProfileImageToStorage(
imageUri = currentState.profileUrl,
uid = currentState.uid,
)
Expand Down

0 comments on commit f5db3c9

Please sign in to comment.