aboutsummaryrefslogtreecommitdiff
path: root/ui/opml_export.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/opml_export.go')
-rw-r--r--ui/opml_export.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/opml_export.go b/ui/opml_export.go
index 20194b0c..55ceb561 100644
--- a/ui/opml_export.go
+++ b/ui/opml_export.go
@@ -17,9 +17,9 @@ import (
func (c *Controller) Export(w http.ResponseWriter, r *http.Request) {
opml, err := opml.NewHandler(c.store).Export(request.UserID(r))
if err != nil {
- html.ServerError(w, err)
+ html.ServerError(w, r, err)
return
}
- xml.Attachment(w, "feeds.opml", opml)
+ xml.Attachment(w, r, "feeds.opml", opml)
}