aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/entry_save.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2019-06-01 18:18:09 -0700
committerGravatar fguillot <fred@miniflux.net>2019-06-02 06:30:08 -0700
commit228862fefaa645026caa483ffe9993bf8c00b22e (patch)
tree2b590dc6cda3e50928a31ce673641357805f75ce /ui/entry_save.go
parent04d85b3c63afcf6c9539fc8dc7a91c4e36c2e8fb (diff)
Refactor config package
- Parse configuration only once during startup time - Store configuration values in a global variable
Diffstat (limited to 'ui/entry_save.go')
-rw-r--r--ui/entry_save.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/entry_save.go b/ui/entry_save.go
index 86d5b4d..43d2503 100644
--- a/ui/entry_save.go
+++ b/ui/entry_save.go
@@ -37,7 +37,7 @@ func (h *handler) saveEntry(w http.ResponseWriter, r *http.Request) {
}
go func() {
- integration.SendEntry(h.cfg, entry, settings)
+ integration.SendEntry(entry, settings)
}()
json.Created(w, r, map[string]string{"message": "saved"})