a fun bot for the hc slack

bug: change userid to user on time api

dunkirk.sh 19b4a57b b9e86da2

verified
Changed files
+2 -2
src
features
api
routes
+1 -1
README.md
···
- includes userName for each project
```
-
GET /api/time?userId=<userId>
+
GET /api/time?user=<userId>
```
returns the total time spent on takes for a user and daily time statistics
- requires userId parameter
+1 -1
src/features/api/routes/time.ts
···
export async function time(url: URL): Promise<Response> {
try {
-
const userId = url.searchParams.get("userId");
+
const userId = url.searchParams.get("user");
if (!userId) {
return new Response(