mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: added limits to /today
This commit is contained in:
1 parent
438feefa83
commit
297f2f6580
3 files changed
+46
-33
No files matched your search
@@ -10,6 +10,10 @@ export const todayRoute: RouteRegistry = {
|
||||
async handler(req) {
|
||||
const player = resolvePlayerFromRequest(req);
|
||||
|
||||
return await today(player, true);
|
||||
return await today(
|
||||
player,
|
||||
req.query.limit ? parseInt(req.query.limit as string) : undefined,
|
||||
true,
|
||||
);
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user