aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/bookmark_entries.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/bookmark_entries.go')
-rw-r--r--ui/bookmark_entries.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/bookmark_entries.go b/ui/bookmark_entries.go
index 08385f6..5e6bb45 100644
--- a/ui/bookmark_entries.go
+++ b/ui/bookmark_entries.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"
@@ -19,7 +19,7 @@ import (
func (c *Controller) ShowStarredPage(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
}
@@ -34,13 +34,13 @@ func (c *Controller) ShowStarredPage(w http.ResponseWriter, r *http.Request) {
entries, err := builder.GetEntries()
if err != nil {
- html.ServerError(w, err)
+ html.ServerError(w, r, err)
return
}
count, err := builder.CountEntries()
if err != nil {
- html.ServerError(w, err)
+ html.ServerError(w, r, err)
return
}