aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/opml_import.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/opml_import.go')
-rw-r--r--ui/opml_import.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/opml_import.go b/ui/opml_import.go
index a8e732e..9a763ca 100644
--- a/ui/opml_import.go
+++ b/ui/opml_import.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
-package ui // import "miniflux.app/ui"
+package ui // import "miniflux.app/ui"
import (
"net/http"
@@ -17,7 +17,7 @@ import (
func (c *Controller) Import(w http.ResponseWriter, r *http.Request) {
user, err := c.store.UserByID(request.UserID(r))
if err != nil {
- html.ServerError(w, err)
+ html.ServerError(w, r, err)
return
}