working leantime widget 69
This commit is contained in:
parent
122e2a4dcd
commit
5b19f8727d
@ -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(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user