Merge pull request #6916 from nextcloud/perf/dont-enrich-calendar-entries

perf: don't enrich cards when finding calendar entries
This commit is contained in:
Luka Trovic
2025-04-29 13:39:08 +02:00
committed by GitHub

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;
} }
/** /**