Woops (fixup of previous)

This commit is contained in:
Jakob Borg 2014-09-13 15:11:47 +02:00
parent bf7a128142
commit 5638c4ba87
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ func restGetNeed(m *model.Model, w http.ResponseWriter, r *http.Request) {
var qs = r.URL.Query()
var repo = qs.Get("repo")
files := m.NeedFilesRepoLimited(repo, 100, 250) // max 100 files or 2500 blocks
files := m.NeedFilesRepoLimited(repo, 100, 2500) // max 100 files or 2500 blocks
w.Header().Set("Content-Type", "application/json; charset=utf-8")
json.NewEncoder(w).Encode(files)