Skip to content

Commit 9b4880a

Browse files
authored
Ignore error on refreshing current session (#46)
1 parent dae6a38 commit 9b4880a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Supabase/SupabaseClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public class SupabaseClient {
111111

112112
extension SupabaseClient {
113113
func adapt(request: URLRequest) async throws -> URLRequest {
114-
try await auth.refreshCurrentSessionIfNeeded()
114+
try? await auth.refreshCurrentSessionIfNeeded()
115115

116116
var request = request
117117
if let accessToken = auth.session?.accessToken {

0 commit comments

Comments
 (0)