perf: don't enrich cards when finding calendar entries

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
Richard Steinmetz
2025-04-29 12:07:35 +00:00
committed by backportbot[bot]
parent 3e69070e8c
commit 0191d54369
+1 -3
View File
@@ -159,9 +159,7 @@ class CardService {
$this->logger->error('Unable to check permission for a previously obtained board ' . $boardId, ['exception' => $e]);
return [];
}
$cards = $this->cardMapper->findCalendarEntries($boardId);
$this->enrichCards($cards);
return $cards;
return $this->cardMapper->findCalendarEntries($boardId);
}
/**