Skip to content

Commit a8bc0e6

Browse files
committed
feat: code refactoring.
Signed-off-by: Gaurav Goel <[email protected]>
1 parent f07ef2b commit a8bc0e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions, context: Context) : WebViewResu
152152
"appState",
153153
gson.toJson(loginIdObject).toByteArray(Charsets.UTF_8).toBase64URLString()
154154
)
155-
paramMap.put("sessionId", sessionId)
155+
paramMap.put("sessionId", sessionManager.getSessionId())
156156
}
157157
paramMap.put("params", initParamsJson)
158158

core/src/main/java/com/web3auth/core/types/Web3AuthOptions.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ fun getWalletSdkUrl(buildEnv: BuildEnv?): String {
5656
fun getDashBoardUrl(buildEnv: BuildEnv?): String {
5757
val sdkUrl: String = when (buildEnv) {
5858
BuildEnv.STAGING -> {
59-
"https://staging-account.web3auth.io/$walletAccountConstant"
59+
"https://staging-account.web3auth.io/v9/$walletAccountConstant"
6060
}
6161

6262
BuildEnv.TESTING -> {
6363
"https://develop-account.web3auth.io/$walletAccountConstant"
6464
}
6565

6666
else -> {
67-
"https://account.web3auth.io/$walletAccountConstant"
67+
"https://account.web3auth.io/v9/$walletAccountConstant"
6868
}
6969
}
7070
return sdkUrl

0 commit comments

Comments
 (0)