Skip to content

Commit 7db730d

Browse files
committed
feat: code refactoring in request function.
Signed-off-by: Gaurav Goel <[email protected]>
1 parent 436c93a commit 7db730d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/com/web3auth/core/Web3Auth.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,8 +595,8 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions, context: Context) : WebViewResu
595595
"options", initOptions
596596
)
597597

598-
val sessionId = SessionManager.generateRandomSessionKey()
599-
val loginIdCf = getLoginId(sessionId, paramMap.toString())
598+
val loginId = SessionManager.generateRandomSessionKey()
599+
val loginIdCf = getLoginId(loginId, paramMap.toString())
600600

601601
loginIdCf.whenComplete { loginId, error ->
602602
if (error == null) {

0 commit comments

Comments
 (0)