this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix API handler to use getDays default limit

The API handler was hardcoding '30' as fallback, overriding the
365 default in getDays(). Now only passes limit if explicitly provided.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

alice 1b22fdf8 625dcc7a

+2 -2
+2 -2
src/web/api.ts
··· 80 80 // Handlers 81 81 82 82 async function handleGetDays(req: Request, url: URL): Promise<Response> { 83 - const limit = parseInt(url.searchParams.get('limit') || '30'); 84 - const days = getDays(limit); 83 + const limitParam = url.searchParams.get('limit'); 84 + const days = limitParam ? getDays(parseInt(limitParam)) : getDays(); 85 85 return jsonResponse(days); 86 86 } 87 87