cmd/pkgserver: remove get endpoint count field

This commit is contained in:
mae
2026-03-13 20:41:53 -05:00
parent 671124fa3b
commit 861de12366
2 changed files with 3 additions and 5 deletions

View File

@@ -103,7 +103,6 @@ func (index *packageIndex) handleGet(w http.ResponseWriter, r *http.Request) {
return
}
values := index.sorts[sort][i:min(i+limit, len(index.sorts[sort]))]
// TODO(mae): remove count field
writeAPIPayload(w, &struct {
Values []*metadata `json:"values"`
}{values})