Skip to content

Commit

Permalink
refactor: Make "address" argument names coherent between the two methods
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarX committed Dec 12, 2024
1 parent 6ac7547 commit c9e1e63
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ class UploadManager(
UnexpectedApiErrorFormatException::class,
UnknownException::class,
)
suspend fun verifyEmailCode(code: String, email: String): AuthorEmailToken {
return uploadRepository.verifyEmailCode(VerifyEmailCodeBody(code, email))
suspend fun verifyEmailCode(code: String, address: String): AuthorEmailToken {
return uploadRepository.verifyEmailCode(VerifyEmailCodeBody(code, address))
}

@Throws(
Expand All @@ -335,9 +335,9 @@ class UploadManager(
UnexpectedApiErrorFormatException::class,
UnknownException::class,
)
suspend fun resendEmailCode(emailAddress: String) {
suspend fun resendEmailCode(address: String) {
val language = emailLanguageUtils.getEmailLanguageFromLocal()
uploadRepository.resendEmailCode(ResendEmailCodeBody(emailAddress, language.code))
uploadRepository.resendEmailCode(ResendEmailCodeBody(address, language.code))
}

private suspend fun addTransferByLinkUUID(
Expand Down

0 comments on commit c9e1e63

Please sign in to comment.