Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Sep 16, 2024
1 parent b0e4297 commit 67d5f7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SessionManager/SessionManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class SessionManager {
switch result {
case let .success(data):
let msgDict = try JSONSerialization.jsonObject(with: data)
os_log("authrorize session response is: %@", log: getTorusLogger(log: Web3AuthLogger.network, type: .info), type: .info, "\(msgDict)")
os_log("create session response is: %@", log: getTorusLogger(log: Web3AuthLogger.network, type: .info), type: .info, "\(msgDict)")
return sessionID
case let .failure(error):
throw error
Expand All @@ -109,7 +109,7 @@ public class SessionManager {
do {
let msgDict = try JSONSerialization.jsonObject(with: data) as? [String: String]
let msgData = msgDict?["message"]
os_log("authrorize session response is: %@", log: getTorusLogger(log: Web3AuthLogger.network, type: .info), type: .info, "\(String(describing: msgDict))")
os_log("authorize session response is: %@", log: getTorusLogger(log: Web3AuthLogger.network, type: .info), type: .info, "\(String(describing: msgDict))")
let loginDetails = try decryptData(privKeyHex: sessionID, d: msgData ?? "")
KeychainManager.shared.save(key: .sessionID, val: sessionID)
return loginDetails
Expand Down

0 comments on commit 67d5f7d

Please sign in to comment.