mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
Make use of printer.Print when possible
This commit is contained in:
parent
b4ed17fbac
commit
5a7d6f8997
8 changed files with 22 additions and 22 deletions
|
@ -63,7 +63,7 @@ func (h *handler) refreshAllFeeds(w http.ResponseWriter, r *http.Request) {
|
|||
go h.pool.Push(jobs)
|
||||
|
||||
sess.SetLastForceRefresh()
|
||||
sess.NewFlashMessage(printer.Printf("alert.background_feed_refresh"))
|
||||
sess.NewFlashMessage(printer.Print("alert.background_feed_refresh"))
|
||||
}
|
||||
|
||||
html.Redirect(w, r, route.Path(h.router, "feeds"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue