appview/state/router: add pagination middleware to good first issues route #799

merged
opened by willdot.net targeting master from willdot.net/tangled-core: gfi-paging

Noticed that paging wasn't working on the good first issues page and after digging around to see how other pages use pagination I noticed that the GFI route wasn't using the paging middleware.

Changed files
+1 -1
appview
state
+1 -1
appview/state/router.go
··· 139 139 // r.Post("/import", s.ImportRepo) 140 140 }) 141 141 142 - r.Get("/goodfirstissues", s.GoodFirstIssues) 142 + r.With(middleware.Paginate).Get("/goodfirstissues", s.GoodFirstIssues) 143 143 144 144 r.With(middleware.AuthMiddleware(s.oauth)).Route("/follow", func(r chi.Router) { 145 145 r.Post("/", s.Follow)