diff options
Diffstat (limited to 'backend/section.go')
| -rw-r--r-- | backend/section.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/section.go b/backend/section.go index 06b48cc..a22d286 100644 --- a/backend/section.go +++ b/backend/section.go @@ -78,7 +78,7 @@ func (s *Section) Load(_ *Config) bool { } return false } - logger.Info("checking directory...", "path", s.Folder) + logger.Info("checking directory...") err = s.readDir(s.Folder, dir) if err != nil { slog.Error("reading directory", "error", err) @@ -168,7 +168,7 @@ func (s *Section) handleList(w http.ResponseWriter, r *http.Request) { } func (s *Section) handleRSS(w http.ResponseWriter, r *http.Request) { - d := handleGenericSectionDisplay(w, r, 5) + d := handleGenericSectionDisplay(w, r, []Section{*s}, 5) if d == nil { return } |
