diff options
Diffstat (limited to 'srv/src/http/index.go')
-rw-r--r-- | srv/src/http/index.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/srv/src/http/index.go b/srv/src/http/index.go index bb76568..4557f95 100644 --- a/srv/src/http/index.go +++ b/srv/src/http/index.go @@ -30,7 +30,7 @@ func (a *api) renderIndexHandler() http.Handler { return } - posts, hasMore, err := a.params.PostStore.WithOrderDesc().Get(page, pageCount) + posts, hasMore, err := a.params.PostStore.Get(page, pageCount) if err != nil { apiutil.InternalServerError( rw, r, fmt.Errorf("fetching page %d of posts: %w", page, err), |