Skip to content

Commit

Permalink
[Fix]Compiler warning on StreamVideo (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
ipavlidakis committed Nov 12, 2024
1 parent a33c5dc commit c71d241
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/StreamVideo/StreamVideo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -657,8 +657,7 @@ extension StreamVideo: ConnectionStateDelegate {
switch state {
case let .disconnected(source):
if let serverError = source.serverError {
if serverError.isInvalidTokenError
|| (serverError as? APIError)?.isTokenExpiredError == true {
if serverError.isInvalidTokenError {
Task {
do {
guard let apiTransport = apiTransport as? URLSessionTransport else { return }
Expand Down

0 comments on commit c71d241

Please sign in to comment.