From 3728f1daa08e4c228db212844612555e9e2904df Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sat, 16 Oct 2021 16:21:16 +0200 Subject: Add RSS/Atom feed support for user actions (#16002) Return rss/atom feed for user based on rss url suffix or Content-Type header. --- modules/context/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/context/context.go b/modules/context/context.go index 6bd934928e..0a603cced5 100644 --- a/modules/context/context.go +++ b/modules/context/context.go @@ -320,7 +320,7 @@ func (ctx *Context) PlainText(status int, bs []byte) { ctx.Resp.WriteHeader(status) ctx.Resp.Header().Set("Content-Type", "text/plain;charset=utf-8") if _, err := ctx.Resp.Write(bs); err != nil { - ctx.ServerError("Render JSON failed", err) + ctx.ServerError("Write bytes failed", err) } } -- cgit v1.2.3