diff --git a/DataLayer/Sources/DataLayer/SunTime/SunTimeRepositoryImpl.swift b/DataLayer/Sources/DataLayer/SunTime/SunTimeRepositoryImpl.swift index 0e30b2b..6c740b7 100644 --- a/DataLayer/Sources/DataLayer/SunTime/SunTimeRepositoryImpl.swift +++ b/DataLayer/Sources/DataLayer/SunTime/SunTimeRepositoryImpl.swift @@ -34,6 +34,7 @@ final class SunTimeRepositoryImpl: SunTimeRepository { let localResult = try localDataSource.getSunTimes(for: dates) if (localResult.count == dates.count) { log(.info, "found stored sunTimes: \(localResult)") + cached = Cache(items: (localResult, legal)) return .success((localResult, legal)) }