aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/feed/feed.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/feed/feed.go b/models/feed/feed.go
index ce7aafe..e2730c7 100644
--- a/models/feed/feed.go
+++ b/models/feed/feed.go
@@ -79,7 +79,7 @@ func (f *Feed) Update() {
return
}
- models.DB.Query(`UPDATE feed
+ _, _ = models.DB.Exec(`UPDATE feed
SET title=?, url=?, web_url=?, category=?
WHERE id=?`, f.Title, f.Url, f.WebUrl, f.Category, f.Id)
}