Skip to content

Commit

Permalink
Merge pull request #1542 from nextcloud/fix/1350/favorites-cache
Browse files Browse the repository at this point in the history
fix(Favorites): repair runtime cache population
  • Loading branch information
blizzz authored Jan 13, 2025
2 parents 97e78b3 + 9e483ef commit add3b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/FavoritesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function isFavorite(int $nodeType, int $id): bool {

$result = $qb->executeQuery();
while ($row = $result->fetch()) {
$this->cache->set($cacheKey, true);
$this->cache->set(sprintf('%d_%d', $row['node_type'], $row['node_id']), true);
}
}

Expand Down

0 comments on commit add3b2b

Please sign in to comment.