aboutsummaryrefslogtreecommitdiff
path: root/internal/ui
diff options
context:
space:
mode:
Diffstat (limited to 'internal/ui')
-rw-r--r--internal/ui/entry_scraper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ui/entry_scraper.go b/internal/ui/entry_scraper.go
index afbaf061..ad442b16 100644
--- a/internal/ui/entry_scraper.go
+++ b/internal/ui/entry_scraper.go
@@ -58,7 +58,7 @@ func (h *handler) fetchContent(w http.ResponseWriter, r *http.Request) {
return
}
- if err := h.store.UpdateEntryContent(entry); err != nil {
+ if err := h.store.UpdateEntryTitleAndContent(entry); err != nil {
json.ServerError(w, r, err)
return
}