diff options
| author | Samuel Johnson <[email protected]> | 2025-11-26 02:02:43 -0500 |
|---|---|---|
| committer | Samuel Johnson <[email protected]> | 2025-11-26 02:02:43 -0500 |
| commit | c9433d03e2f6c7779a1b3eacb2b8e45fc7be99b4 (patch) | |
| tree | 0249932b6f1bfa61c5efa8fa2ccfa6d94b6e54fd | |
| parent | d740821200f3bb89112ed08af84decf608d91732 (diff) | |
Remember to zero out array of context
| -rw-r--r-- | cmd/web/handlers/rss.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web/handlers/rss.go b/cmd/web/handlers/rss.go index a1bfa92..97458ee 100644 --- a/cmd/web/handlers/rss.go +++ b/cmd/web/handlers/rss.go @@ -116,6 +116,7 @@ func (ctx *rssContext) new(w http.ResponseWriter, r *http.Request) { func (ctx *rssContext) feed(w http.ResponseWriter, r *http.Request) { ctx.Videos = []video{} + ctx.Written = []written{} ctx.Feed = models.Feed{} id := r.URL.Query().Get("id") |
