Skip to content

Commit

Permalink
Removed unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Sosna committed Sep 6, 2024
1 parent c392ca3 commit 42deca3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Auth0/CredentialsStorage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,7 @@ extension SimpleKeychain: CredentialsStorage {
/// - Parameter key: The key to get from the Keychain.
/// - Returns: The stored data.
public func getEntry(forKey key: String) -> Data? {
do {
return try self.data(forKey: key)
} catch {
print(error.localizedDescription
)
return nil
}

return try? self.data(forKey: key)
}

/// Sets a storage entry.
Expand Down

0 comments on commit 42deca3

Please sign in to comment.