Skip to content

Commit b2bec8b

Browse files
authored
Passing the meta to Entry
1 parent cc82d70 commit b2bec8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Shared/Storage/TypeWrapperStorage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ final class TypeWrapperStorage {
1414
extension TypeWrapperStorage: StorageAware {
1515
public func entry<T: Codable>(ofType type: T.Type, forKey key: String) throws -> Entry<T> {
1616
let wrapperEntry = try internalStorage.entry(ofType: TypeWrapper<T>.self, forKey: key)
17-
return Entry(object: wrapperEntry.object.object, expiry: wrapperEntry.expiry)
17+
return Entry(object: wrapperEntry.object.object, expiry: wrapperEntry.expiry, meta: wrapperEntry.meta)
1818
}
1919

2020
public func removeObject(forKey key: String) throws {

0 commit comments

Comments
 (0)