Skip to content

Commit 7b545a1

Browse files
committed
feat: default session id
1 parent 345f93d commit 7b545a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/UnleashProxyClientSwift/Client/UnleashProxyClientSwift.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ public class UnleashClientBase {
6363
}
6464

6565
self.context = Context(appName: appName, environment: environment, sessionId: String(Int.random(in: 0..<1_000_000_000)))
66-
if let providedContext = context {
67-
self.context = self.calculateContext(context: providedContext)
68-
}
66+
if let providedContext = context {
67+
self.context = self.calculateContext(context: providedContext)
68+
}
6969
}
7070

7171
public func start(

0 commit comments

Comments
 (0)