···6767- includes userName for each project
68686969```
7070-GET /api/time?userId=<userId>
7070+GET /api/time?user=<userId>
7171```
7272returns the total time spent on takes for a user and daily time statistics
7373- requires userId parameter
+1-1
src/features/api/routes/time.ts
···19192020export async function time(url: URL): Promise<Response> {
2121 try {
2222- const userId = url.searchParams.get("userId");
2222+ const userId = url.searchParams.get("user");
23232424 if (!userId) {
2525 return new Response(