Skip to content

Commit

Permalink
fix(auth): missing autoRefreshToken param in initializer (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
grdsdev authored Jun 6, 2024
1 parent 92a9047 commit 32de22f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/Supabase/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,16 @@ extension SupabaseClientOptions.AuthOptions {
redirectToURL: URL? = nil,
flowType: AuthFlowType = AuthClient.Configuration.defaultFlowType,
encoder: JSONEncoder = AuthClient.Configuration.jsonEncoder,
decoder: JSONDecoder = AuthClient.Configuration.jsonDecoder
decoder: JSONDecoder = AuthClient.Configuration.jsonDecoder,
autoRefreshToken: Bool = AuthClient.Configuration.defaultAutoRefreshToken
) {
self.init(
storage: AuthClient.Configuration.defaultLocalStorage,
redirectToURL: redirectToURL,
flowType: flowType,
encoder: encoder,
decoder: decoder
decoder: decoder,
autoRefreshToken: autoRefreshToken
)
}
#endif
Expand Down

0 comments on commit 32de22f

Please sign in to comment.