Refactor fetch functions to use new FullData.Insert{Feed,Page} funcs
This commit is contained in:
+1
-1
@@ -64,6 +64,6 @@ func gopherPage(data *core.FullData, remote *url.URL, title string) error {
|
||||
page.Hash = newHash
|
||||
page.Updated = time.Now()
|
||||
|
||||
InsertPage(data, &page, remote)
|
||||
data.InsertPage(&page, remote)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user