Skip to content

Commit

Permalink
search: Should use pttSearch as boardd endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertabcd committed Apr 25, 2018
1 parent d0ce266 commit 7ccdd43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cached_ops.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func generateBbsSearch(key cache.Key) (cache.Cacheable, error) {
}

// Search articles
articles, totalPosts, err := ptt.Search(r.Brd.Ref(), r.Preds, offset, EntryPerPage)
articles, totalPosts, err := pttSearch.Search(r.Brd.Ref(), r.Preds, offset, EntryPerPage)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 7ccdd43

Please sign in to comment.