idz: Un-hardcode result limit in repo layer

Minor design nit but I should probably take my own code review
advice.
This commit is contained in:
Tau
2019-11-30 14:13:49 -05:00
parent e195cf77cd
commit 4db3d94ee8
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export async function loadTopTen(
}
const { routeNo, minTimestamp } = selector;
const src = await w.timeAttack().loadTopTen(routeNo, minTimestamp);
const src = await w.timeAttack().loadTop(routeNo, minTimestamp, 10);
if (src.length === 0) {
continue;