Skip to content

Commit

Permalink
add optional (#12419)
Browse files Browse the repository at this point in the history
  • Loading branch information
themiswang authored Feb 23, 2024
1 parent 57926ca commit 30dd2ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protocol MockSubscriberSDKProtocol {

let sessions = ComponentType<SessionsProvider>.instance(for: SessionsProvider.self,
in: app.container)
sessions.register(subscriber: self)
sessions?.register(subscriber: self)
}

// MARK: - Library Conformance
Expand Down

0 comments on commit 30dd2ba

Please sign in to comment.