aboutsummaryrefslogtreecommitdiff
path: root/internal/liturgy/store.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/liturgy/store.go')
-rw-r--r--internal/liturgy/store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/liturgy/store.go b/internal/liturgy/store.go
index 69e45f2..5bf7ef0 100644
--- a/internal/liturgy/store.go
+++ b/internal/liturgy/store.go
@@ -170,7 +170,7 @@ func Harvest(fromDate string, maxDays int) (added int, furthest string, err erro
if publishedRe.MatchString(page) {
if mkErr := os.MkdirAll(dir, 0o755); mkErr == nil {
_ = os.WriteFile(filepath.Join(dir, dateStr+".html"), []byte(page), 0o644)
- writeJSONCache(filepath.Join(dir, dateStr+".json"), secs)
+ writeCache(filepath.Join(dir, dateStr+".json"), secs, ParseDayInfo(page))
}
}