From 5b19f8727d40246f426967f0235e1ae99e118c8e Mon Sep 17 00:00:00 2001 From: Alma Date: Sat, 12 Apr 2025 19:25:13 +0200 Subject: [PATCH] working leantime widget 69 --- app/api/leantime/tasks/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/leantime/tasks/route.ts b/app/api/leantime/tasks/route.ts index b0e96246..6d13e4c8 100644 --- a/app/api/leantime/tasks/route.ts +++ b/app/api/leantime/tasks/route.ts @@ -161,7 +161,7 @@ export async function GET(request: NextRequest) { }); // 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) => ({ id: task.id.toString(),