working leantime widget 69

This commit is contained in:
Alma 2025-04-12 19:25:13 +02:00
parent 122e2a4dcd
commit 5b19f8727d

View File

@ -161,7 +161,7 @@ export async function GET(request: NextRequest) {
}); });
// Only include tasks where the current user is assigned // Only include tasks where the current user is assigned
return task.editorId === userId.toString(); return task.editorId === userId.toString() || task.editorId === userId;
}) })
.map((task: any) => ({ .map((task: any) => ({
id: task.id.toString(), id: task.id.toString(),