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-16 13:49:58 +02:00
parent 685014ec48
commit fa2f5bcab8
+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]); $this->logger->error('Unable to check permission for a previously obtained board ' . $boardId, ['exception' => $e]);
return []; return [];
} }
$cards = $this->cardMapper->findCalendarEntries($boardId); return $this->cardMapper->findCalendarEntries($boardId);
$this->enrichCards($cards);
return $cards;
} }
/** /**