fix filter

This commit is contained in:
2025-04-02 20:05:33 +08:00
parent 8054b0235d
commit a6f7172ec4
6 changed files with 106 additions and 61 deletions

View File

@@ -35,10 +35,8 @@ export async function GET(request: NextRequest) {
linkId,
linkSlug,
userId,
teamId: teamIds.length > 0 ? teamIds[0] : undefined,
teamIds: teamIds.length > 1 ? teamIds : undefined,
projectId: projectIds.length > 0 ? projectIds[0] : undefined,
projectIds: projectIds.length > 1 ? projectIds : undefined,
teamIds: teamIds.length > 0 ? teamIds : undefined,
projectIds: projectIds.length > 0 ? projectIds : undefined,
tagIds: tagIds.length > 0 ? tagIds : undefined,
startTime,
endTime,