diff options
author | 2023-09-27 21:15:32 -0700 | |
---|---|---|
committer | 2023-09-27 21:45:23 -0700 | |
commit | f98fc1e03a6d732611fc05a7f714e3f3a0292cfc (patch) | |
tree | 62745f05871fe2d2f35dfa87ab3b2e535c52e6fa /internal/ui/opml_export.go | |
parent | 39d752ca85d0f590684af76f53eedbdc53f81801 (diff) | |
download | v2-f98fc1e03a6d732611fc05a7f714e3f3a0292cfc.tar.gz v2-f98fc1e03a6d732611fc05a7f714e3f3a0292cfc.tar.zst v2-f98fc1e03a6d732611fc05a7f714e3f3a0292cfc.zip |
Add command line argument to export user feeds
Diffstat (limited to 'internal/ui/opml_export.go')
-rw-r--r-- | internal/ui/opml_export.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/ui/opml_export.go b/internal/ui/opml_export.go index 0f5a994f..806914ef 100644 --- a/internal/ui/opml_export.go +++ b/internal/ui/opml_export.go @@ -13,11 +13,11 @@ import ( ) func (h *handler) exportFeeds(w http.ResponseWriter, r *http.Request) { - opml, err := opml.NewHandler(h.store).Export(request.UserID(r)) + opmlExport, err := opml.NewHandler(h.store).Export(request.UserID(r)) if err != nil { html.ServerError(w, r, err) return } - xml.Attachment(w, r, "feeds.opml", opml) + xml.Attachment(w, r, "feeds.opml", opmlExport) } |