Skip to content

Commit

Permalink
Merge pull request #3 from jjotaum/release/0.3.1
Browse files Browse the repository at this point in the history
Release 0.3.1
  • Loading branch information
jjotaum authored Feb 6, 2024
2 parents 687a291 + 8ace782 commit e82396a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Caffeine/Protocols/Storable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public protocol Storable: Codable {
}

public extension Storable {
func read(_ controller: StorageController = UserDefaults.standard) throws -> Self? {
static func read(_ controller: StorageController = UserDefaults.standard, cacheKey: String) throws -> Self? {
return try controller.read(with: cacheKey)
}

Expand Down

0 comments on commit e82396a

Please sign in to comment.