mirror of
https://github.com/djhackersdev/minime.git
synced 2026-08-22 02:14:08 -05:00
idz: Fix loadTopTen harder
Unconditionally return a response; the team ID and profile ID don't actually seem to affect what the client expects to receive (world top ten must be returned in all cases).
This commit is contained in:
@@ -18,13 +18,7 @@ export async function loadTopTen(
|
||||
}
|
||||
|
||||
const { routeNo, minTimestamp } = selector;
|
||||
let src: TopTenResult[];
|
||||
|
||||
if (req.teamId !== undefined) {
|
||||
src = []; // TODO
|
||||
} else {
|
||||
src = await w.timeAttack().loadTopTen(routeNo, minTimestamp);
|
||||
}
|
||||
const src = await w.timeAttack().loadTopTen(routeNo, minTimestamp);
|
||||
|
||||
if (src.length === 0) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user