Skip to content

Commit 8b32ed4

Browse files
committed
Fix duration compile error
1 parent 6553b5a commit 8b32ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ actor LiveSessionService {
226226
// TODO: (b/444045023) When auto session resumption is enabled, call `connect` again
227227
AILog.debug(
228228
code: .liveSessionGoingAwaySoon,
229-
"Session expires in: \(message.goAway.timeLeft ?? 0)"
229+
"Session expires in: \(message.goAway.timeLeft?.timeInterval ?? 0)"
230230
)
231231
}
232232

0 commit comments

Comments
 (0)