fix export

This commit is contained in:
Umputun
2018-01-08 19:45:28 -06:00
parent 51d0e3eb8a
commit 483249dfbe
+1 -1
View File
@@ -27,7 +27,7 @@ func (r *Remark) Export(w io.Writer, siteID string) error {
commentsCount := 0
for _, topic := range topics {
comments, err := r.DataStore.Find(store.Locator{SiteID: siteID, URL: topic}, "time")
comments, err := r.DataStore.Find(store.Locator{SiteID: siteID, URL: topic.URL}, "time")
if err != nil {
return err
}