This repository has no description
0

Configure Feed

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

bug: change userid to user on time api

+2 -2
+1 -1
README.md
··· 67 67 - includes userName for each project 68 68 69 69 ``` 70 - GET /api/time?userId=<userId> 70 + GET /api/time?user=<userId> 71 71 ``` 72 72 returns the total time spent on takes for a user and daily time statistics 73 73 - requires userId parameter
+1 -1
src/features/api/routes/time.ts
··· 19 19 20 20 export async function time(url: URL): Promise<Response> { 21 21 try { 22 - const userId = url.searchParams.get("userId"); 22 + const userId = url.searchParams.get("user"); 23 23 24 24 if (!userId) { 25 25 return new Response(