aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/feed/cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/feed/cache.go b/internal/feed/cache.go
index d233395..fa22139 100644
--- a/internal/feed/cache.go
+++ b/internal/feed/cache.go
@@ -97,7 +97,7 @@ func storeCache(cache Cache, fileName string) error {
}
encoder := gob.NewEncoder(writer)
- if err = encoder.Encode(cache); err != nil {
+ if err = encoder.Encode(cache.CacheImpl); err != nil {
return fmt.Errorf("encoding cache: %w", err)
}